Trims the excess whitespace at the EOL