Substring
This will set a variable with the given name to a substring of the given text from the given start to end positions. Both positions are inclusive.
note
Positions start at 0 and can accept negative numbers that point to that many characters from the end of the text.
note
You can leave either position empty to represent the start or end of the string respectively.
Parameters
- Variable name (text)
- Text (text)
- Start position (number)
- End position (number)