Archive: Is there a script for...


Is there a script for...
Before I write one myself and delay my program even further, is there a script that will do the following:

Replace one "(TEXT)" in a string once with "(MAP)", and then delete all other "(TEXT)" pieces.

I could probebly use a combination of StrStr and StrReplace, but I don't have time to think (I'm tired and my dad is bighting my head off!)

Thanks

-Stu


Not that I know of. But I don't think it'll be too hard to change StrReplace to do that. Just set a variable once you have replaced the first occurrence of the string and then start deleting.


Here is the script I wrote.
I started from scratch (I'd rather not get confused using someone else's work)

http://nsis.sourceforge.net/archive/...ances=0,11,122

The browser I use somehow posted the page twice (I use K-Meleon, which has some work needed on it)

-Stu