Number of input and output field
| Number of input field |
: |
One |
| Number of output field |
: |
One |
This transformation function is used to get the middle of the text of the input from the
from-index until the
to-index of the token.
The parameters of this function are:
- token : the regex-token character (comma, if not specified).
- from index : the first index (1-based indexing) of the token; if negative, this index is counted from right to left.
- to index : the second index (1-based indexing) of the token; if negative, this index is counted from right to left.
For example, when the input value is:
http://www.solusi247.com/index.php
| token | from-index | to-index | Result |
| / | 1 | 3 | /www.solusi247.com |
| / | 1 | -1 | /www.solusi247.com |
| / | 1 | 4 | /www.solusi247.com/index.php |