Strip whitespace from title