TRIM Function [Visio 2003 SDK Documentation]
Removes all space from text except for single spaces between words.
text The text from which you want to remove spaces.
You can use the TRIM function on text that you have received from another application that may have irregular spacing.
TRIM ("January 1, 2003 ")
Returns "January 1, 2003".