All Commands
All String
Commands
MID
Returns a number of characters from a specified position in a String
This command can have an {END_MID} command.
In this case, the string in-between will replace the first parameter and the format will be {MID} string {{END_MID(parameters 2 onwards)}
This is particularly useful if the string is particularly long or contains commas.
Number | Name | Default | Type | Description |
---|---|---|---|---|
1 | string | String | The string to operate on | |
2 | start | 1 | Expression | The starting character of the operation, starting at 1. This can be a negative number to start from the end of the string. |
3 | length | 0 | Expression | The number of characters to return This can be a negative number to specify how many characters from the end of the string. |
Example 1 Example
CD
Example 2 Example
is