Download Print this page

Right$( ) - TSC TTP-243 Series Programming Manual

Hide thumbs Also See for TTP-243 Series:

Advertisement

RIGHT$( )

Description
This function returns a specified number of characters up from the end of a string.
Syntax
RIGHT$ (X$,n)
Parameter
X$
n
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
See Also
DOWNLOAD, EOP, END, LEFT$(), LEN(), MID$(), STR$(), VAL()
Description
The string to be processed
The number of characters to be returned from the right side (end) of the
string
Result
225

Advertisement

loading
Need help?

Need help?

Do you have a question about the TTP-243 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ttp-244me seriesTdp-245 seriesTtp-245 seriesTtp-246m seriesTtp-248m seriesTtp-243 plus series ... Show all