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