Remove charAt() calls.