Several ways to reverse a string