substring(int beginIndex, int endIndex): String
Returns a string that resides within this string. The returned substring begins at the specified beginIndex and extends to the character at index endIndex - 1. Thus the length of the substring is endIndex-beginIndex.
Input Parameters
beginIndex | Integer The beginning index, inclusive. |
endIndex | Integer The ending index, exclusive. |
Return Value
String The specified substring. |