結果 : java substring remove last character