Blackbaud interview question

Write a function to determine if a string is a palindrome