Skip to main content

SUBSTITUTE

Substitutes new text for old text in a text string.

CategoryText
SyntaxSUBSTITUTE(text, old_text, new_text, [instance_num])

Parameters

ParameterRequiredDescription
textRequiredThe text in which to substitute characters.
old_textRequiredThe text to replace.
new_textRequiredThe text to replace old_text with.
instance_numOptionalWhich occurrence to replace. If omitted, all occurrences are replaced.

Example

SUBSTITUTE("text")

Auto-generated from the EngCanvas function registry.