Strings
Actions in the String folder of the toolbox: search, cut, change, check and convert text.
The String folder of the Process Designer toolbox holds the actions that work on text. Its RegEx subfolder works with regular expressions, and its URLs subfolder encodes and decodes text for URLs.
Most of these actions are case-sensitive and count positions from 0. Each page says how its action handles letter case, empty values and positions.
| Action | What it does |
|---|
| Contains | Checks whether a text contains another text, optionally ignoring case. |
| Starts With | Checks whether a text starts with another text. |
| Ends With | Checks whether a text ends with another text. |
| Null Or Empty | Checks whether a text has no value or is empty. |
| Length | Returns the number of characters in a text. |
| Get Index | Returns the position of the first occurrence of a text, or -1. |
| Action | What it does |
|---|
| Take From Left | Returns the first characters of a text. |
| Take From Middle | Returns a piece of a text from a position, with a given length. |
| Take From Right | Returns the last characters of a text. |
| Substring | Returns a text from a position to the end. |
| Between | Returns every piece of text between a start and an end string. |
| Split | Splits a text into a list at a separator. |
| Action | What it does |
|---|
| RegEx Validate | Checks whether a text matches a regular expression. |
| RegEx Extract | Returns every match of a regular expression as a list. |
| RegEx Replace | Replaces every match of a regular expression. |
| Action | What it does |
|---|
| URL Encode | Encodes a text for use inside a URL. |
| URL Decode | Decodes a URL-encoded text. |