Apolis Interview Question

Write a function to reverse a string in a language you're comfortable with.