Easy Tutorial
❮ Func Clng Func Datevalue ❯

VBScript Trim Function



The Trim function removes spaces from both ends of a string.

Note: See the LTrim and RTrim functions.

Syntax

Parameter Description
string Required. String expression.

Example

Example

The above example outputs:

❮ Func Clng Func Datevalue ❯