I normally reserve rtrim() for removing whitespace, but yes that is an easier way to do it!

I have added a commit with this and the line length change.