Frage im Vorstellungsgespräch bei Capgemini

Write a code to reverse a string in any programming language?