Overview
Thereplace-var transformation replaces text in a string using a variable value as the replacement.
Syntax
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
variable | string | Yes | The string to search in |
replace-variable | variable | Yes | The variable whose value is used as the replacement |
search | string | Yes | The substring or regex pattern to find |
isRegex | boolean | Yes | Whether the search string is a regular expression |
Examples
This is similar to the Replace transformation, but uses a variable for the replacement value instead of a static string.