Wow, can't believe I jumped straight to indexOf! Noob move on my part. :P

charAt is definitely cleaner and more expressive, I'll submit a new pull.