Fixed string.CharAt() to return a char instead of a string