how to get the index of a letter in a string code example Example: string get a letter by index charAt(index)