Syntax
string.charAt(num)
The charAt() method returns the character located at the indexed, num, position passed.
This indexing is done from left to right starting with the 0 (zero) position.
If the num passed is not a valid index in the string, -1 is returned.
Using the String.charAt() method