Skip to main content

SUBSTITUTE

Use the SUBSTITUTE function to replace specific text in a text value.

Use

SUBSTITUTE( text, old_text, new_text [, instance_num] )
Substitutes new text for old text in a text value.

ParameterRequiredDescription
textYesthe text in which to substitute characters
old_textYesthe text to replace
new_textYesthe new text to replace old_text with
instance_numNospecifies which occurrence of old_text to replace with new_text (default all)

ReturnsText

Example

This section isn’t ready just yet—we’re working on it! Please check back soon, and if you need help right away, feel free to ask in our Community Forum.

ON THIS PAGE