Pergunta de entrevista da empresa Morgan Stanley

How could you check to see if a string is a palindrome (i.e. same forwards as it is backwards)?