4 out of 14 rated this helpful - Rate this topic

Visual Basic for Applications Reference

Visual Studio 6.0

LTrim, RTrim, and Trim Functions

See Also    Example    Specifics

Returns a Variant (String) containing a copy of a specified string without leading spaces (LTrim), trailing spaces (RTrim), or both leading and trailing spaces (Trim).

Syntax

LTrim(string)

RTrim(string)

Trim(string)

The required string argument is any valid string expression. If string contains Null, Null is returned.

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.