結果 : java strip last character from string