Searce interview question

How to reverse a string ?Write a pseudo code for it.