Microsoft® Visual Basic® Scripting Edition
LTrim, RTrim, and Trim Functions
Language Reference

See Also


Description
Returns a copy of a string without leading spaces (LTrim), trailing spaces (RTrim), or both leading and trailing spaces (Trim).

Syntax

LTrim(string)

RTrim(string)

Trim(string)

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

© 1997 Microsoft Corporation. All rights reserved. Legal Notices.