結果 : java strip last character of string