Brother International TD-4420TN FBPL Command Reference - Page 171
RIGHT, Description, Syntax, Example, See Also
![]() |
View all Brother International TD-4420TN manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 171 highlights
10.39 RIGHT$() Description Return a specified number of characters up from the end of a string. Syntax RIGHT$(X$,n) Parameter X$ n Description The string to be processed The number of characters to be returned from the right side (end) of the string Example Sample code Result DOWNLOAD "DEMO.BAS" SIZE 4,1 GAP 0,0 DIRECTION 1 A$="ABCDEFGHIJKLMNOPQRSTUVWXYZ" 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 DEMO See Also DOWNLOAD, EOP, END, LEFT$(), LEN(), MID$(), STR$(), VAL() 166
![](/manual_guide/products/brother-international-td4420tn-fbpl-command-reference-a4fb318/171.png)
166
10.39 RIGHT$()
Description
Return 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
Sample code
DOWNLOAD "DEMO.BAS"
SIZE 4,1
GAP 0,0
DIRECTION 1
A$="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
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
DEMO
Result
See Also
DOWNLOAD, EOP, END, LEFT$(), LEN(), MID$(), STR$(), VAL()