This function is a combination of STREXTRACT() and STRTRAN() that allows you to search for a string between a pair of delimiters and then replace that string with another value. Replaces the text between the matches.
o.ReplaceText(lcSource,lcStart,lcEnd,lcReplace)
Return Value
Replaced text string or the original string if no match was found.
Parameters
lcSource
The source string to work on
lcStart
The starting delimiter to find
lcEnd
The end delimiter to find
lcReplace
The replacement string that replaces the matched content without the delimiters.
See also:
Class wwUtils