There is no special command for doing this,
but you can use the following coding. Please keep in mind that this is not
necessary for space characters, since they are truncated automatically when you
use a GuiXT variable unless you have specified
ProcessingOption trailingSpace="On".