List of Text Blocks¶
The following table lists the available Text Blocks.
| Block | Function | Description |
|---|---|---|
| String Block | “” | Wraps the argument in double quotes. Mainly used to specify string values that can be used as input in other blocks. |
| Parenthesis Block | () | Wraps the argument in parenthesis. Mainly useful for math operations. |
| Character Block | Char(parameter) | Returns a string representing the ANSI character corresponding to the ASCII code (0-255) that is supplied as an integer parameter. |
| Clean Block | Clean(parameter) | Removes all non-printable characters from a string. |
| Concatenate Block | operand1 & operand2 | Creates a single string by joining two or more individual strings. |
| Length Block | Len(parameter) | Returns the number of characters (including spaces) in a string. |
| Change Case Block | Upper(parameter)Lower(parameter)Proper(parameter) | Converts the input string to UPPER, lower, or Title case, based on the option that you select from the drop-down: • UPPER – Converts to UPPER case. • lower – Converts to lower case. • Title – Converts to Title case. |
| Trim Block | Trim(parameter)TrimLeft(parameter)TrimRight(parameter) | Removes spaces from the beginning, end or both sides of a string, based on the option that you select from the drop-down: • Both – Removes spaces from both sides. • Left – Removes spaces from the beginning. • Right – Removes spaces from the end. |
| Reverse Block | Reverse(parameter) | Returns the reverse of a string. |
| Character Count Block | CharCount(character, string) | Counts the occurrences of a particular character in a string. |
| Extract Characters Block | Extract(string, charType) | Extracts characters of a specified type from a string. |
| Replace All Block | Replace(string, replacement, match) | Replaces every occurrence of a specific “String” with the “Replacement” string in the specified search string. |
| Left Block | Left(string,length) | Extracts the specified number of characters from the beginning of a given string. |
| Right Block | Right(string,length) | Extracts the specified number of characters from the end of a given string. |
| Mid Block | Mid(string,start,length) | Extracts the specified number of characters from a given string, starting from a specific position. |