Is there any way to reverse a string (I am trying to test for a palindrome)? Anything like string::reverse()?