Skip to main content

REPLACE

The REPLACE replaces part of a text value, based on the number of characters specified, with a new text value.

Use

REPLACE( old_text, start_num, num_chars, new_text )
Replaces matching parts of text with a replacement text value.

ParameterRequiredDescription
old_textYestext in which to replace some characters
start_numYesthe position of the character in old_text to replace with new_text
num_charsYesthe number of characters in old_text to replace with new_text
new_textYesthe text that will replace characters in old_text

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