substring
This function returns the substring of the input string starting at the position specified in the starting location with the length specified in length.
Signature:
substring(inputString as string,startingLoc as number,[length as number])
Arguments:
-
inputString: The input string. -
startingLoc: The starting location. -
length as number: The length as a number.
For example:
substring('12345',2) returns '2345'.