Replace in String
Description
Replace in string is a step in the Transformation Plugin for Process Studio Workflows. Replace in string is a simple search and replace all occurrences of a word in a string with another word. It also supports regular expressions and group references. Group references are picked up in the replace with field as $n where n is the number of the group.
Configurations
| No. | Field Name | Description |
|---|---|---|
| 1 | Step name | Name of the step as it appears in the workflow workspace. This name has to be unique in a single workflow. |
| 2 | In Stream field | Select the in stream field where search and replace is to be done. |
| 3 | Out Stream field | Select the out stream field where the new string value is put. |
| 4 | Use RegEx | Is your search string a regular expression. Select Y/N |
| 5 | Search | Enter the search string. |
| 6 | Replace with | Replace the search string with the replace string. |
| 7 | Set empty string? | Set the string to null(Y/N). |
| 8 | Replace with field | Select a field use to replace the Out Stream field. |
| 9 | Whole Word | Is the search and replace field a whole word. Select Y/N |
| 10 | Case sensitive | Is the search and replace field case sensitive. Select Y/N |