Strings

Functions

str.length()
// returns the length

str1.concat(str2)
// returns str1 += str2

str1.equals(str2)
// returns true if they are equal

str1.equalsIgnoreCase(str2)
// returns true if they are equal, ignoring case

str.indexOf("CFG")
// returns index of a list of letters, if none found -1 is returned

str.charAt(index);
// returns the char at index 

str.substring(index1, index2);
// returns values from index1 to index2 - 1 

str.toUpperCase();
// all chars set to uppercase

str.toLowerCase();
// all chars set to lowercase