Trivial tweak: reduce method calls of `charAt`
1 file changed