An overview of data structures and algorithms.
String()
String(String value)
String(char[] array)
String(char[] array, int offset, int length)
String(StringBuilder builder)
sb.append('c');
sb.deleteCharAt(sb.length() - 1);
sb.toString();
String[] array = str.split("\s+"); // by spaces
String[] astr = str.split("[, ?.@]+");
String number = "10";
int result = Integer.parseInt(number);
Integer result = Integer.valueOf(number);
Integer.toString(number);
StringBuilder sb = new StringBuilder();
sb.append(number);
String numberAsString = sb.toString();