結果 : java remove char from end of string