1 | char charAt(int index) | It returns char value for the particular index |
2 | int compareTo(Object o) | Compare this string to another object. |
3 | int compareTo(String anotherString) | Compares two strings in lexicographical order. |
4 | String concat(String s) | concatenate two string. |
5 | boolean contains(CharSequence s) | It returns true or false after matching the sequence of char value. |
6 | boolean equals(Object another) | It checks the equality of string with the given object. |
7 | static String format(String format, Object… args) | It returns a formatted string. |
8 | static String format(Locale l, String format, Object… args) | It returns formatted string with given locale. |
9 | static String join(CharSequence delimiter, CharSequence… elements) | It returns a joined string. |
10 | static String join(CharSequence delimiter, Iterable<? extends CharSequence> elements) | It returns a joined string. |
11 | int length() | It returns string length |
12 | String substring(int beginIndex) | It returns substring for given begin index. |
13 | String substring(int beginIndex, int endIndex) | It returns substring for given begin index and end index. |