FactSet interview question

Describe a function to reverse a string.