Easy Tutorial
❮ Vb Func Datepart Vb Func Array ❯

VBScript Len Function



The Len function returns the number of characters in a string.

Syntax

Parameter Description
string String expression.

Example

Example 1

The output of the above example:

Example 2

You can also place the string directly into the Len function:

The output of the above example:


❮ Vb Func Datepart Vb Func Array ❯