The action changes the specified text in the original text to the set one.
Parameter | Description |
---|---|
Text | The original text for processing. |
Replace | The text in the original text to be replaced if present. |
To | New value for the text to be replaced. |
The output is a string variable containing the processed text.
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Text | Text to make action on | Robin.String | Yes | |
Replace | The string to be replaced | Robin.String | Yes | |
To | The string to replace all occurrences of Replace | Robin.String | Yes | |
Results | ||||
Result | A string variable containing the processed text. | Robin.String |
None.
There is a variable "Input text" with the text value: "Olya Ivanova, Olya Smirnova, Olya Petrova". Replace the first match for the name Olya with Masha. Display the changed text in the dialog box.
Use the "Replace matches" and "Get message" actions.
The dialogue window with the replaced text was displayed.