Microsoft Interview Question

Write a program to return true if the string is a palindrome