Appareo Systems interview question

Can you implement a function to reverse a string?