Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7150
Chapter 2 Program Instructions
LEN
Field of Application
Function returning the number of character positions in a string.
Syntax LEN(<sexp>)
<sexp> is the string from which the number of characters will
be returned.
Remarks
The number of characters to be returned includes unprintable characters, but
the quotation marks enclosing the string expression are not included.
Examples
In this example, lines 40 and 50 illustrate two ways of using the LEN
function, when the number of characters from several string expressions
are to be added up.
10 A$="INTERMEC" (8 char.)
20 B$="THERMAL" (7 char.)
30 C$="PRINTERS" (8 char.)
40 PRINT LEN(A$+B$+C$)
50 PRINT LEN(A$)+LEN(B$)+LEN(C$)
RUN
yields:
23
23
This example illustrates that unprintable characters, for example space
characters, are included in the value returned by the LEN function:
PRINT LEN("INTERMEC THERMAL PRINTERS")
yields:
25