Module
Contents
Index 🔎︎

# 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)

## Врати вредност:

Долга

## Параметри:

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

## Error codes:

5 Invalid procedure call

## Пример

    Sub ExampleLen

    Dim sText as String

        sText = "Las Vegas"

        MsgBox Len(sText) REM Returns 9

    End Sub