Len – String Management Function**





Len Function


Description

The Len function returns the length of the specified string.

Syntax

a = Len(<string$>)

Parameters

<string$>: string.

Return Value

a: numeric, return value containing the length of <string$>.

See Also

Extract the first and second word from a string, ExtractBetween$

Examples


a = Len("bcdefg") ' Returns 6
a = Len(var$)