Trim$ Function
Syntax
Trim[$](S$)
Group
Description
Return the string with S$'s leading and trailing spaces removed.
Parameters
Parameters | Description |
---|---|
S$ | Copy this string without the leading or trailing spaces. If this value is Null then Null is returned. |
Example
Sub Main Debug.Print "."; Trim$(" x "); "." '".x." End Sub
See also