Replaces a sub-string within a string with another string, and returns the new result.
Replacement is global, therefore all occurences of the sub-string are replaced with the
new string. This version is case-sensitive, use ReplaceNC for a case-insensitive version.
|
|
Syntax |
Replace( orig_string, str_to_find, new_str )
|
orig_string |
Original string to search. |
str_to_find |
Sub-string to match. |
new_str |
Replaces sub-string. |
|
|
|
|