EasyManuals Logo

TSC TTP-244CE series User Manual

TSC TTP-244CE series
206 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #144 background imageLoading...
Page #144 background image
TSC AUTO ID Technology Co., Ltd. 134 Copyright 2009 All Rights Reserved.
INSTR ( )
Description
Returns an integer specifying the start position of the first occurrence of one string within
another.
Syntax
INSTR ([start,] str1$, str2$)
Parameter Description
start Optional. Numeric expression that sets the starting position for each
search. If omitted, search begins at the first character position. The
stat index is 1 - based.
str1$ Required. String expression being searched.
str2$ Required. String expression sought.
Example
DOWNLOAD "DEMO.BAS"
string$ = "ABC123ABC123"
searchfor$ = "123"
starpos = 8
temp1 = INSTR(string$,searchfor$)
temp2 = INSTR(starpos,string$,searchfor$)
str1$ = searchfor$+" in "+string$+ " is " + STR$(temp1)
str2$ = searchfor$+" in "+string$+ " after " + STR$(starpos) + " is " + STR$(temp2)
SIZE 4,1
GAP 0,0
CLS
TEXT 10,10,"3",0,1,1,str1$
TEXT 10,60,"3",0,1,1,str2$
PRINT 1
EOP
DEMO
See Also
STRCOMP()

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the TSC TTP-244CE series and is the answer not in the manual?

TSC TTP-244CE series Specifications

General IconGeneral
Resolution203 dpi
Processor32-bit RISC CPU
Print MethodThermal Transfer / Direct Thermal
Max Print Speed4 inches per second
Memory8 MB SDRAM, 4 MB Flash
Communication InterfacesUSB, Serial (RS-232)
Media HandlingContinuous, Fan-Fold
Media TypeContinuous, Die-cut, Black Mark, Fan-fold
Media Width1 inch to 4.4 inches
Media Roll Diameter127 mm (5 inches)
Ribbon Length300 m
Ribbon Core25.4 mm (1 inch)
Power100-240 VAC, 50/60 Hz
Weight2.5 kg
Max Print Length2, 286 mm (90")
Dimensions232 mm (W) x 156 mm (H) x 288 mm (D) 9.13" (W) x 6.14" (H) x 11.34" (D)

Related product manuals