Len function

Len( string )

Returns the number of characters in a string.
Sub Main
   A$ = "BlueZone Basic"
   StrLen% = Len(A$)   'the value of StrLen is 14
   MsgBox StrLen%
End Sub