The charAt() method returns the character at the specified index in a string. The index of the first character is 0, the second character is 1, and so on.