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