Programming instructions
Intermec Fingerprint v7.61 – Programmer’s Reference Manual Ed. 7 225
Chapter 2 Program Instructions
RIGHT$
Field of Application
Function returning a specifi ed number of characters from a given string
starting from the extreme right side (end) of the string.
Syntax RIGHT$(<sexp>,<nexp>)
<sexp> is the string from which the characters will be returned.
<nexp> specifi es the number of characters to be returned.
Remarks
This function is the complementary function for LEFT$, which returns the
characters starting from the extreme left side, that is from the start.
If the number of characters to be returned is greater than the number of
characters in the string, then the entire string will be returned. If the number of
characters is set to zero, a null string will be returned.
Examples
PRINT RIGHT$("THERMAL_PRINTER",7)
yields:
PRINTER
10 A$="THERMAL_PRINTER":B$ = "LABEL"
20 PRINT RIGHT$(B$,5);RIGHT$(A$,8);"S"
RUN
yields:
LABEL_PRINTERS