Returns a string with all instances of "find" replaced with "replace". You can use the qty parameter to limit the number of replacements made, or use -1 for no limit. The original string is unmodified and a new string is returned with the replacements in it. Note that if you are calling this command from tier 2 then the returned string must be deleted when you are done with it.
string ReplaceString( str, find, replace, qty )