Question d’entretien chez FactSet

Describe a function to reverse a string.