All Commands
All String
Commands
STRRPOS
This will return the position of the second parameter within the first looking from the right to the left.
If the string is not found then it will return 0.
This has the same extended functionality as {STRPOS()}.
This command can have an {END_STRRPOS} command.
In this case, the string in-between will replace the first parameter and the format will be {STRRPOS} string {{END_STRRPOS(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 be searched | |
2 | search | String | The string to search for | |
3 | offset | 1 | Expression | The start position for the search. A negative number indicates the number of characters from the end. |