VBScript Len Function
Complete VBScript Reference Manual
The Len function returns the number of characters in a string.
Syntax
Len(string)
| Parameters | Description |
|---|---|
| string | A string expression. |
Example
Example 1
The example above produces the following output:
24
Try it »
Example 2
You can also put a string directly into the Len function:
The example above produces the following output:
24
Try it »
Complete VBScript Reference Manual