Len Function


Len( string )

Returns the number of characters in a string.

Example:

    Sub Main

        A$ = "BlueZone Basic"

        StrLen% = Len(A$)   'the value of StrLen is 14

        MsgBox StrLen%

    End Sub


Related Topic:

InStr Function