Removes the leading and trailing spaces (single--byte space, tab, carriage return, and line feed) from a string of the mapping source. Also replaces consecutive spaces between strings with a single space.
To remove spaces from a string, you use the trim node function. The following figure shows an example that uses the trim node function.
Figure 6-6 Usage example of the trim node function
To remove spaces: