結果 : java remove suffix from string if exists