Len

Returns the length of a string.

Syntax
      Len(string)

Key
   string             A string or string expression.

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

Examples

Dim intDemo as Integer
IntDemo = Len("Talent is just a skill you're willing to practice")
Returns 49

“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 © 1999-2024 SS64.com
Some rights reserved