Owner`s manual

100
5.1.15 String Control Functions
LEFfS
MIDS
RIGHTS
SPC
CHRS
ASC
STRS
VAL
LEN
10 A$ = LEFT$
(X$,
Substitutes string variable
XS
(from beginning to Nth
N) character) for string variable
AS.
It
doesn't matter
whether N
is
a constant, variable
or
numerical formula.
20 B$ =
MID$
(X$,
M.
N)
30
C$
= RIGHT$
(X
$,
N)
40 D$ =
SPC
(N)
60 F$ = CHR$
(A)
70 A = ASC
(X$)
80 N$ = STR$
(I)
90 I = VAL
(N$)
100
LX
=
LEN
(X$)
110
LS
=
LEN
(X$
+
Y$)
Substitutes string variable
XS
(from Mth character to N
character) for string variable
SS.
Substitutes string variable X$ (from end to N character)
for string variable
CS.
Substitutes N number
of
spaces for string variable D$.
Converse to the
ASC function, substitutes ASCII code
characters which are equivalent to the value of real
number A for string variable F$.
It
doesn't matter
whether A
is
a constant, variable
or
numerical formula.
Substitutes the value
of
the ASCII code
of
the first
character of
st~ng
variable
X$
for variable A.
Converse to the V
AL
variable, substitutes the numerical
variable I
as
if it were a string for string variable N$.
Substitutes the numerical string
of
string variable
N$
as if
it were a number for variable
I.
Substitutes the character length (character number)
of
string variable
X$
for variable LX.
Substitutes the sum of the character length
of
string
variables
X$
and
Y$
for variable LS.