結果 : reverse string without changing position of special character in java