August 2001
Intermediate to advanced
656 pages
18h 5m
English
Trim Function
Microsoft.VisualBasic.Strings
Trim(str)str
Use: Required
Data Type: String
Any string expression
String
Removes both leading and trailing spaces from a given string
If string is Nothing, the
Trim function returns
Nothing.
Trim is equivalent to calling both the
RTrim and LTrim functions.
In VB 6, the function’s single named argument is
string. In VB .NET, its single named
argument is str.
Read now
Unlock full access