/
replace
replace
Description
Replaces the search_str string with replacement_str in str and returns the resulting string. The string str is not modified.
Parameters
Return Type
String
Examples
Example 1
wret = replace("foobar", "foo", "bar");
print(wret);
Print barbar
Example 2
wret = replace("aaa", "aa", "b");
print(wret);
Print ba
See also
, multiple selections available,
Related content
replace
replace
More like this
replace
replace
More like this
replace
More like this
matchReplace
matchReplace
Read with this
--findReplace
--findReplace
More like this
--findReplace
--findReplace
More like this