Avanade Interview Question

How do you reverse a string?