Veilant Interview Question

Write a function to tell if a string is a palindrome