CapTech Interview Question

How would you test a string if it's a palindrome?