Programming Reference Manual
 
Syntax
 
Trim[$](S$)
 
Description
Return the string with S$'s leading and trailing spaces removed.
 
Parameter
Description
S$
Copy this string without the leading or trailing spaces. If this value is Null then Null is returned. 
See Also
Example
 
Sub Main
Debug.Print ".";Trim$(" x ");"." '".x."
End Sub