The charAt() method returns the character at a given position in a string: