Package java.lang
Class String

Public Method substring

String substring(int sIdx)

String substring(int sIdx, int eIdx)

Throws:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

substring(int sIdx) method:

Returns a new string that is a substring of this string. The substring begins with the character at the specified index and extends to the end of this string.

substring(int sIdx, int eIdx) method:

Returns a new string that is a substring of this string. The substring begins with the character at the specified index sIdx and extends to the index eIdx - 1.