LEN

Concept Link IconSee also

Return the length of a string.

WebVue support - Yes.

Syntax

IntVal = LEN(InputString);

Return type: INTEGER.

Argument

Meaning

InputString

The string whose length is to be returned. Type STR.

Example

SUB Main()

DIM intResult as INTEGER;

DIM strString as STR;

 

strString = "Hello, World!";

intResult = LEN(strString);

PRINT("Result: ", intResult );

'Displays "Result: 13"

END SUB