Len

Returns the length of a string.

Syntax
      Len(string)

Key
   string             A string or string expression.

The Len() function may be used in VBA or in an SQL query.

Examples

Dim intDemo as Integer
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:

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


© Copyright SS64.com 1999-2013
Some rights reserved