SubString
This function retrieves a substring from the given input string. The substring begins at a specified position and has a
specified length.
| SYNTAX
|
SubString(inString, startIndex, length)
|
| ARGUMENTS
|
|
inString
|
The string from which a part is extracted.
|
|
startIndex
|
The starting position beginning from 1.
|
|
length
|
The number of characters in the substring. If you pass the value zero to this parameter, all
characters starting from the start Index to the end of the given input string return.
|
|
| RETURN
|
A string of the given length that begins at the start index of the given input string.
|
| EXAMPLE
|
retString = SubString("abc",2,1)
|