結果 : reverse a string using string function