Enova interview question

Write code to reverse a string. Pick whichever programming language you prefer.