Finds the specified substring(s) and replaces it with the new text
Replace("The River", "i", "o") → "The Rover" Replace("Netherland", "Ne", "Mo") → "Motherland"
Replace(string, search, replacewith, [isCaseSensitive], [allMatches])
string - A text value to search in
string
search - Text to search for
search
replaceWith - Text to replace with
replaceWith
[isCaseSensitive] - [optional: true by default**]** - Set false if search should be case insensitive
[isCaseSensitive]
true
false
[allMatches] - [optional: true by default**]** - Set false if only the first match should be replaced
[allMatches]
Last updated 2 years ago