VTech Power Pad Precomputer Power Pad Plus User Manual page 59

Vtech precomputer power pad plus user's manual
Table of Contents

Advertisement

Example:
10
A$="ABCDE"
20
B$=LEFT$ (A$+"FGH",6)
30
PRINT B$
RUN
ABCDEF
RIGHT$ (A$,N)
This will return a substring but starting from the Nth character from the end and running
to the last one - the right-most character in the string A$.
Example:
10
A$="WHY"
20
B$=RIGHT$(A$+"ME",4)
30
PRINT B$
RUN
HYME
MID$ (A$,M,N)
This function returns a substring of the string A$ starting from the Mth character with a
length of N characters.
Example:
10
A$="ABCDEFGH"
20
B$=MID$(A$,2,3)
30
PRINT B$
RUN
BCD
55

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents