Help Centre › Functions & Formulas
Find and replace text within a state variable.
Add it to a process
In the process designer, open the Add step tab. Find Find and replace in variable under Data, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| Find | Yes | The text to search for in the variable value. |
| Variable | Yes | Name of the variable where the result will be stored |
| Replace | No | The text to replace matches with. Leave blank to remove the found text. |
| Count (leave blank for all) | No | Maximum number of replacements. Leave blank to replace all occurrences. |
See all Data steps.
Tips
- Replaces text within a variable value
- Leave Replace empty to remove the found text
- Leave Count blank to replace all occurrences