Programming Reference Manual
 
Syntax
 
LenB(S$)
-or-
LenB(usertypevar)
 
Description
Return the number of bytes in S$.
 
Note: A similar function, LenB, returns the number of bytes in the string.
 
Parameter
Description
S$
Return the number of chars in this string value. If this value is Null then Null is returned. 
usertypevar 
Return the number of bytes occupied by the variable's data.
See Also
Example
 
Sub Main
Debug.Print LenB("Hello") ' 10
End Sub