Contents

# Len Function

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

## Sintakse:

    Len (Teksts As String)

## Atgrieztā vērtība:

Long

## Parametri:

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

### Error codes:

5 Nederīgs procedūras izsaukums

## Piemērs:

    Sub ExampleLen
    Dim sText as String
        sText = "Las Vegas"
        MsgBox Len(sText) ' 9
    End Sub