FactSet Interview Question

Describe a function to reverse a string.