TP interview question

Create a script to check if a string is a Palindrome.