結果 : reverse a string in java without affecting special characters