Replacenocase - Replacing multiple items in one go?
I've searched around and can't seem to find anything, but thought I'd post just incase somebody had an answer to this.
I have a string that I need to use replacenocase on to replace several fields, as an example
myoriginalstring="abc#first#-#second#"
What I want todo is look for the instance of #first# in the string (I know I need to double up on the # to ##) with a value of 99, and then also replace any instance of #second# with 88.
The question is, do I ahve to run two replacenocase statements, replacing one first, then taking the new string and running it again?
I have about 5 different things to search for in the string, and right now I have five statements.
Is there a better way so that it can be done in one statement?
Thanks
Mark
