Len

Returns the length of a string.

Syntax
      Len(string)

Key
   string             A string or string expression.

Examples

Dim intDemo
IntDemo = Len("The world is everlasting")
Returns 24

“Begin at the beginning, the King said, very gravely, and go on till you come to the end: then stop” ~ Lewis Carroll

Related VBScript commands

Left - Extract a substring from a string.
Right - Extract a substring from a string.


 
Copyright © 1999-2024 SS64.com
Some rights reserved