EasyManua.ls Logo

Husky Hunter - Page 232

Husky Hunter
499 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
BASIC FUNCTIONS
SECTION 5, 13
LEFT$
5.13, 1 Function LEFT$ returns the first n characters from a designated
Syntax
string. F.ither string or n may be expressions.
LEFT$(
11
STRINC;
11
,N)
where string is a string expression N is the number of left
most characters.
Examples 10 A$ ="ABCDEFG"
20 B$ = LEFT$(A$,3)
30 PRINT 8$
prints ABC.
Remarks LEFT$(A$,O) returns a Null String i.e.
1111
LEFT$(A$,50) returns ABCDEFG
N cannot be negative or a "MAG" error will result,
VER.V09F
PAGE 5 - 63