Extracts a given range of characters from the input text
The Range parameter is given as two numbers in the form from:to (note the colon between the values). The first character in the input text has the index zero. As an example, 0:3 would extract the first 3 characters.
Negative values can be used to “anchor” the selection at the end of the input (e.g. to extract the last x characters, regardless of how long the text is).
One of the values can be left empty to extend the selection to the start/end of the input (the colon still has to be included though).
The following examples use the input text “Hello World”:
Input/Output: