The Trim transformation removes white spaces from the beginning or end of String attribute values.
To trim spaces from String values:
From the attribute menu, under Quick Transformation, select .
When you trim white spaces, the transformation is immediately added to the transformation script. There is no configuration, and the change always overwrites the selected attribute.
If you are done making changes to the project data set, you can commit the changes. See Running the transformation script against a project data set.