Skip to content
⌘ NSIS Forum Archive

Is there a script for...

3 posts

Afrow UK#

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
kichik#
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.
Afrow UK#
Here is the script I wrote.
I started from scratch (I'd rather not get confused using someone else's work)



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

-Stu