結果 : java string remove last character if matches