結果 : java remove specific character from end of string