string
Replace(string string,
string old, string new)
Return Value
A result string after replacing
indicated substrings.
Parameters
string – a string that needs to be processed.
old – string to be replaced by new.
new – string replacing old
Remarks
Call this function to replace instances of the
substring old with instances of the string new.
Example
The following example demonstrates
the use of Replace.
string sReplaceTest = "01 02
03 04 05-06 07 08 09 10"
string sResult = Replace(sReplaceTest,
" ", ":")
Println(sResult)