Reverse a string: Difference between revisions