Use charAt for consistency