LEN

Top  Previous  Next

Action

Returns the length of a string.

 

 

Syntax

var = LEN( string )

 

 

Remarks

var

A numeric variable that is assigned with the length of string.

string

The string to calculate the length of.

 

 

Example

Dim S As String * 12

Dim A As Byte

S = "test"

A = Len(s)

Print A  ' prints 4