Len

 

Len(string)

 

Returns the number of characters in a string.

 

Related Topics: InStr

 

Example:

 

Sub Main ()

   A$ = "Cypress Enable"

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

     MsgBox StrLen%

End Sub