Skip to main content

Overview

The replace-variable transformation replaces text in a string using a variable value.

Syntax

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

Parameters

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

Examples

replace-variable(<variable>, search="placeholder", replace=<replace-variable>)
This is similar to the Replace transformation, but uses a variable for the replacement value instead of a static string.