EC-3150 THERMAL BARCODE PRINTER
64
59. LEFT$( )
Description
This function returns the specified number of characters down from the initial
character of a string.
Syntax
LEFT$ (X$, n)
Parameter
Description
X$
The string to be processed
n
The number of characters to be returned
Example
DOWNLOAD "STR1.BAS"
SIZE 3.00,3.00
GAP 0.08,0.00
SPEED 4.0
DENSITY 8
DIRECTION 0
REFERENCE 0,0
CLS
A$="BARCODE PRINTER DEMO PRINTING"
C$=LEFT$(A$,10)
TEXT 10,10,"3",0,1,1,A$
TEXT 10,100,"3",0,1,1,"10 LEFT 10 CHARS: "+C$
PRINT 1
EOP
See Also
DOWNLOAD, EOP, END, RIGHT$(), MID$(), LEN(), STR$()