Geotab interview question

How would you reverse a string?