Trim-Trailing
Returns a string with trailing spaces removed. For example,
if you merge two data items in an expression and the data items
have trailing spaces, the spaces between the data items can be eliminated
using the trim-trailing function.
Syntax
trim-trailing (string_exp)
Example
trim-trailing ('XYZ ')
Returns the result: XYZ