LEN

Format

number1 = LEN (string1)

Description

This statement returns the length (number of characters) of a string, and stores the length in number1.

Example

A$="abc"
LENGTH1 = LEN(A$)
After execution of these statements, LENGTH1 would contain 3.