Standard Chartered Bank interview question

reverse a string without using reverse method