AT&T 6300 Programmer's Manual page 321

Gwbasic by microsoft
Hide thumbs Also See for 6300:
Table of Contents

Advertisement

Syntax
stringexp
Remarks
Example
LEN
Function
Returns the number of characters in a given
string.
LEN ( stringexp )
is any string expression whose length is to be returned
Unprintable characters and blanks are
counted in the number of characters. If the
argument "stringexp" is a null string, LEN
returns zero.
10 XI
=
"PORTLAND, OREGON"
20 PRINT LEN(XI]
RUN 16
Ok
In the above example, there are 16 characters
in the string "PORTLAND, OREGON"
because the comma and the blank space are
included.
7-165

Advertisement

Table of Contents
loading

Table of Contents