Len (function)

<< Click to Display Table of Contents >>

Len (function)

Len(String)

Returns the length of a string.

See also: InStr

Example:

Sub Main

 A$ = "BasicMaker"

 StrLen = Len(A$)     ' Result: 10

 MsgBox StrLen

End Sub