結果 : java remove final character from string