Vector Basic Interpreter Basic 80 Reference Manual - page 123
of
190
SK, Extended, Disk
Returns a string comprised
of
the
leftmost
I
characters
of
X$.
I must be in the range 0 to
25'5. If I is greater than LEN (X$),
the
entire
string
(X$) will be returned.
If I-O, the null
string (length zero) is returned.
10 A$ - "BASIC-SO"
20 B$ • LEFT$ (A$,5)
30 PRINT B$
BASIC
Ok
Returns the
number
of
characters
in
X$.
Non-printing characters and blanks are counted.
10 X$
=-
"PORTLAND, OREGON"
20 PRINT LEN (X$)
16
Ok