文字列末尾の空白除去をtrim()に変更
Merge pull request #5 from tenten0213/trim

文字列末尾の空白除去をtrim()に変更