Infosys interview question

How to Reverse the string?