Strip whitespace from property values.