Returns a string that is a substring of the specified string.
Syntax
substring( string , begindex )
string.substring( begindex )
substring( string , begindex , endindex )
string.substring( begindex , endindex )
Parameters
string
|
the string to use.
|
begindex
|
the beginning index, inclusive.
|
endindex
|
the ending index, exclusive.
If endindex is not specified, copies to end of string.
|
Returns
Notes
Copies endindex - begindex characters.
Example
s = s.substring( offset )
|