17.08.2013 Views

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

Contents, cont'd. - Intermec

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.

LEFT$<br />

Chapter 2 Program Instructions<br />

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

starting from the extreme left side of the string, i.e. 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 the<br />

characters starting from the extreme right side, i.e. from the end.<br />

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

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

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 />

<strong>Intermec</strong> Fingerprint 7.2 – Reference Manual Ed. 3 131

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

Saved successfully!

Ooh no, something went wrong!