Len Function

Returns the number of characters in a string, or the number of bytes that are required to store a variable.

தொடரமைப்பு:

Len (Text As String)

Return value:

Long

அளவுருக்கள்:

Text: Any string expression or a variable of another type.

பிழையான குறியீடுகள்:

5 செல்லாத செயல்முறை அழைப்பு

எடுத்துக்காட்டு:

Sub ExampleLen

Dim sText as String

    sText = "Las Vegas"

    MsgBox Len(sText) REM Returns 9

End Sub