Codonics interview question

Reverse a given string in a separate meathod