Palindromes

A palindrome is a phrase that reads the same frontwards and backwards.
Spaces, punctuation, and capitals are generally ignored.
For example How would you use the classes we have to read a phrase, one character at a time, and determine whether it is a palindrome?