charAt -> string indexing. Close gh-1359.