substring
s = string.substring(start,end); e.g. string = abcdefg substring(1,3) is bc instead of bcd. end is not included. Note this! indexOf(int ch) Returns the index within this string of the first occurrence of the specified character.