Is there a function that will replace text between two tokens?
Example:
cOldString := "[START]some text, some more text[END]"
What I'm looking for is something like:
cNewString := "This is the new text"
cFinalString := ReplaceText( "[START]", "[END]", cOldString, cNewString )
cFinalString would be "[START]This is the new text[END]"
I hope that makes sense.