1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| String1.compareTo(string2)
StringBuilder res = new StringBuilder();
res.append(something);
res.insert(int index, string);
String(res) stringbuilder.toString()
res.reverse();
res.trim();
string.charAt(int i)
toLowerCase() toUpperCase()
A.equals(B)
s.split("\\s+")
s.isEmpty()
char.isLetterOrDigit() = true/false if(( c >= 'a' && c <= 'z') && (c >= '0' && c <= '9'))
s.replaceAll(String regex, String replacement)
s.replace(char1/Stirng, char2/String)
s.startsWith(String)
|