Removing trailing whitespace from example