Len Function

Syntax                  Len(')
-or-
Len(usertypevar)

Group                   String

Description           Return the number of characters in '.

Parameter              Description

'                               Return the number of chars in this string value. '

usertypevar             Return the number of bytes required to store this user variable. If the user type has any dynamic String and Variant elements the length returned may not be as big as the actual number of bytes required.

See Also               InStr( ), InStrRev( ), Lef'( ), Mi'( ), Replac'( ), Righ'( ).

Example               '#Language "WWB.NET"
Sub Main
    Debug.Print Len("Hello") ' 5
End Sub