Avanade Interview Question

how do you reverse a string?