quote:
Originally posted by wlmcrap
Yep! Here you go.
That will only replace the first occurence.
quote:
Originally posted by Joereynolds89
i got most of it from another forum, i just have the problem of having it repeat, for example i get A by putting a but if i put aaa i get Aaa if that makes sense?
You need to use regexps if you want to do that.
See:
Pai's reply to [Help] Replacing Text Using Scripts (I think I'm dumb lol)
and
segosa's reply to [Help] Replacing Text Using Scripts (I think I'm dumb lol)