On Sat, Apr 23, 2011 at 7:33 PM, Josh Cheek <josh.cheek / gmail.com> wrote: > # using reverse > # using each_char > # using scan > # using unix (this doesn't escape all chars properly, though) > # using recursion > # exchanging chars I feel a benchmark coming, of all the suggestions so far. :)