TSC AUTO ID Technology Co., Ltd. 131 Copyright 2009 All Rights Reserved.
RIGHT$( )
Description
This function returns a specified number of characters up from the end of a string.
Syntax
RIGHT$ (X$, n)
Parameter Description
X$ The string to be processed
n The number of characters to be returned from the right side
(end) of the string
Example
DOWNLOAD "DEMO.BAS"
SIZE 3.00,3.00
GAP 0.08,0.00
SPEED 4.0
DENSITY 8
SET CUTTER OFF
DIRECTION 0
REFERENCE 0,0
A$="TSC Auto ID Technology Co., Ltd."
D$=RIGHT$(A$,10)
CLS
TEXT 10,10,"3",0,1,1,A$
TEXT 10,150,"3",0,1,1,"10 RIGHT CHARS: "+D$
PRINT 1
EOP
See Also
DOWNLOAD, EOP, END, LEFT$(), LEN(), MID$(), STR$(), VAL()