Returns a String containing a copy of a specified string without leading and trailing spaces.
Syntax:
StrLibObject.StrTrim(Expression As String)
The StrTrim Method (StrLib Object) syntax has these parts:
| Part |
Description |
| StrLibObject |
An object expression that evaluates to a StrLib object. |
| Expression |
(Required). String expression. |
Remarks:
Use this method to remove leading and trailing spaces from a string.