結果 : java remove last part of string