Link Search Menu Expand Document

UString.Replace Method

Explanation Finds the specified string and replaces everything found with another string.

This method updates the value of the String object.
Call format var s = str.Replace( search, replace )
Return value Character string as a result of replacement
Arguments UString search Character string to search
UString replace String to replace
Exception Func-4 Invalid argument
Example of use
var str = new UString("abcdefg");
print(str.Replace("cde", "CDE"), "\n");
print(str, "\n");
    
Related item