Programming instructions

Intermec Fingerprint v7.61 Programmers Reference Manual Ed. 7 149
Chapter 2 Program Instructions
LEFT$
Field of Application
Function returning a speci ed number of characters from a given
string starting from the extreme left side of the string, that is
from the start.
Syntax LEFT$(<sexp>,<nexp>)
<sexp> is the string from which the characters will be returned.
<nexp> is the number of characters to be returned.
Remarks
This function is the complementary function for RIGHT$, which returns the
characters starting from the extreme right side, that is from the end.
If the number of characters to be returned is greater than the number of
characters in the string, then the entire string will be returned. If the number of
characters is set to zero, a null string will be returned.
Examples
10 PRINT LEFT$("THERMAL PRINTER",7)
RUN
yields:
THERMAL
10 A$="THERMAL PRINTER":B$="LABEL"
20 PRINT LEFT$(A$,8);LEFT$(B$,10);"S"
RUN
yields:
THERMAL LABELS