DIAdem Help

Method: Len for VBS

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

Method: Len for VBS

 Specifies the length of a text.

vLen = Object.Len(string)
ObjectVBS
Object with this method. You do not need to specify this object.
stringVariant
Specifies the text.
vLenVariant
Receives the text length.

The following example specifies the length of the text DIAdem:

Dim MyInt
MyInt = Len("DIAdem")
Call MsgBox(MyInt) ' Returns 6

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