Remove trailing whitespace characters