結果 : java remove character from end of string