結果 : java strip character from end of string