結果 : java trim character from end of string