Substring


 * substr
 * Substring


 * Definition
 * substring(string, startpos, endpos) returns string
 * substr(string, startpos, numChars) returns string


 * Description
 * Returns a substring of string between starting at startpos and endpos, or starting at startpos of length numChars. The resulting string is truncated if there are fewer than numChars characters beyond the starting point. endpos represents the index after the last character in the substring.