LEN

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Core Language > BuiltIn Functions > String functions >

LEN

 

Description

 

FAST version of LEN function working on scalar string variable only!

Return the length of a string expression.

 

Syntax

 

n = LENF(StringVariable)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

StringVariable

Variable

No

IMPORTANT: a scalar string variable.

 

This parameter can only be:

a single global or local string variable

a string element of a user defined type (UDT)

 

 

 

Remarks

 

LEN will always make a copy of the string expression passed as parameter.

 

Restrictions

 

See also

 

String Handling, LEN, StrPtrLen,

 

Examples