DIAdem Help

Method: LenB for VBS

  • Updated2024-09-12
  • 1 minute(s) read

Method: LenB for VBS

 Specifies the length of a text in bytes.

vLenB = Object.LenB(string)
ObjectVBS
Object with this method. You do not need to specify this object.
stringVariant
Specifies the text.
vLenBVariant
Receives the text length in bytes.

The following example specifies the length of the text DIAdem:

Dim MyInt
MyInt = LenB("DIAdem")
Call MsgBox(MyInt) ' Returns 12

See Also

Objects Overview

Related Topics

Filter | InStr | InStrB | InStrRev | Join | LCase | Left | LeftB | Len | LenB | LTrim | Mid | MidB | Replace | Right | RightB | RTrim | Space | Split | StrComp | String | StrReverse | Trim | UCase

Log in to get a better experience