Skip to main content

Overview

The replace transformation replaces occurrences of a substring within a string.

Syntax

replace(<variable>, search="", replace="")

Parameters

ParameterTypeRequiredDescription
variablestringYesThe string to search in
searchstringYesThe substring to find and replace
replacestringYesThe replacement string

Examples

replace(<variable>, search="old", replace="new")
For replacing with a variable value, see Replace with Variable.