Delivers a character string which contains the characters from the position start until the position end of the original. (The count starts at 0, start has to be smaller than end)
substring(Integer start, Integer end) | |||
---|---|---|---|
Argument | Integer | start | Start position |
Integer | end | End position | |
Return value | String | New character string mit characters from position x until position y of the original (the counts starts at 0) |
Formula | Result |
---|---|
='abcde'.substring(2,4) | cde |