substring Method
Purpose:
Returns a substring of a string variable.
Syntax:
substr(string,startindex,length)
Comments:
startindex is relative to zero.
Example:
abc = "abcd"
p abc.substring(2)
cd