EasyManua.ls Logo

GPRINTER GP-3150TIN - MID$( )

GPRINTER GP-3150TIN
85 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MID$( )
Description
This function is used to get the specified number of characters down from
the mth character of a string.
Syntax
MID$(string, m, n)
Parameter Description
string The string to be processed.
m The beginning of mth characters in the string.
1 <= m <= string length
n The number of characters to return.
Example
DOWNLOAD "DEMO.BAS"
SIZE 3.00,3.00
GAP 0.08,0.00
SPEED 4.0
DENSITY 8
DIRECTION 0
REFERENCE 0,0
CLS
A$="TAIWAN SEMICONDUCTOR CO., LTD"
E$=MID$(A$,11,10)
TEXT 10,10,"3",0,1,1,A$
TEXT 10,200,"3",0,1,1,"10 MIDDLE CHARS: "+E$
PRINT 1
EOP
See Also
DOWNLOAD, EOP, END, LEFT$(), LEN(), RIGHT$(), STR$(), VAL()

Related product manuals