|
LEFT$
Abbreviation: LE <SHIFT+F>
TYPE: String Function
FORMAT: LEFT$ (<string>, <integer>)
Action: Returns a string comprised of the leftmost <integer>
characters of the <string>. The integer argument value must
be in the range 0 to 255. If the integer is greater than the length
of the string, the entire string will be returned. If an <integer>
value of zero is used, then a null string (of zero length) is
returned.
EXAMPLES of LEFT$ Function:
10 A$ = "COMMODORE COMPUTERS"
20 B$ = LEFT$(A$,9): PRINT B$
RUN
COMMODORE
|