How can I reverse a string?
strrev
RTFM
I think he did so, considering there is a mysterious "strrev" in his edited post.