Nyansa interview question

Write a recursive function to reverse a string.