String (Java Platform SE 7 ) | Java substring() method
Methods ModifierandTypeMethodandDescriptioncharcharAt[1](int index)Returnsthecharvalueatthespecifiedindex.intcodePointAt[2](int index)Returnsthecharacter(Unicodecodepoint)atthespecifiedindex.intcodePointBefore[3](int index)Returnsthecharacter(Unicodecodepoint)beforethespecifiedindex.intcodePointCount[4](int beginIndex,int endIndex)ReturnsthenumberofUnicodecodepointsinthespecifiedtextrangeofthisString.intcompareTo[5](String[6] anotherString)Comparestwostringslexicographically.intcompareToIgno...
Methods Modifier and Type Method and Description char charAt[1](int index)Returns the char value at the specified index.
int codePointAt[2](int index)Returns the character (Unicode code point) at the specified index.
int codePointBefore[3](int index)Returns the character (Unicode code point) before the specified index.
int codePointCount[4](int beginIndex, int endIndex)Returns the number of Unicode code points in the specified text range of this String.
int compareTo[5](String[6] anotherString)Compares two strings lexicographically.
int compareToIgnoreCase[7](String[8] str)Compares two strings lexicographically, ignoring case differences.
String[9] concat[10](String[11] str)Concatenates the specified string to the end of this string.
boolean contains[12](CharSequence[13] s)Returns true if and only if this string contains the specified sequence of char values.
boolean contentEquals[14](CharSeque...