String helper with IsPalindrome