LEN
Format: var = LEN (string expr)
Supported by: COMX BASIC V1.00, Floating Point BASIC 2.2, Pecom 32 BASIC, Pecom 64 BASIC 1.0 and 4.0, Quest Super BASIC 1.4, 3.0, 5.0 and 6.0, RCA BASIC3 V1.1, Telmac SBASIC v 24.3
Similar commands: -
This function returns as its value the number of characters in the specified string. The value returns in floating point unless it is preceded by an integer number or function, in which case it is automatically converted to integer. The following is an example.
A$="ARITHMETIC" PR LEN(A$)
Gives
10
which is the length of A$, and
PR 3*LEN (A$)
gives
30
Note that string must be previously defined.