string.replace

Syntax

snew := string.replace(source,sval,srep)

Searches for the occurrence of substring sval in string source, and replaces it with srep. Then returns the new string.

Returns:

snew - The new string after the replacement (if any).

Arguments:

source - the original string to scan for replacements sval - the value to be replaced srep - the value to replace