Fidelity International interview question

They asked me to reverse a string and then reverse a complete sentence using string manipulation techniques.