The charAt method returns a string of exactly one character.
If the return value is compared with a string of length greater than one, the comparison will always evaluate to the same result.
Equality comparisons (===, ==) will always be false, and inequality comparisons (!==, !=) will always be true.
@param ― start The index to the beginning of the specified portion of stringObj.
@param ― end The index to the end of the specified portion of stringObj. The substring includes the characters up to, but not including, the character indicated by end.
If this value is not specified, the substring continues to the end of stringObj.
Returns true if the sequence of elements of searchString converted to a String is the
same as the corresponding elements of this object (converted to a String) starting at
position. Otherwise returns false.