02.10.2012 Views

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

Programmer's Reference Manual Intermec Fingerprint® v8.70.0 ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter —Program Instructions<br />

LEFT$<br />

Purpose Function returning a specified number of characters from a given string<br />

starting from the extreme left side of the string, that is from the start.<br />

Syntax LEFT$(,)<br />

is the string from which the characters will be returned.<br />

is the number of characters to be returned.<br />

Remarks This function is the complementary function for RIGHT$, which returns<br />

the characters starting from the extreme right side, that is from the end.<br />

If the number of characters to be returned is greater than the number<br />

of characters in the string, then the entire string will be returned. If the<br />

number of characters is set to zero, a null string will be returned.<br />

Examples 10 PRINT LEFT$("THERMAL PRINTER",7)<br />

RUN<br />

THERMAL<br />

10 A$="THERMAL PRINTER":B$="LABEL"<br />

20 PRINT LEFT$(A$,8);LEFT$(B$,10);"S"<br />

RUN<br />

THERMAL LABELS<br />

yields:<br />

yields:<br />

1 0 <strong>Intermec</strong> Fingerprint <strong>v8.70.0</strong>/v10.0.0 Programmer´s <strong>Reference</strong> <strong>Manual</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!