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 insearch- Text to search forreplaceWith- Text to replace with[isCaseSensitive]- [optional:trueby default**]** - Setfalseif search should be case insensitive[allMatches]- [optional:trueby default**]** - Setfalseif only the first match should be replaced
Last updated
Was this helpful?