Specifications

Commands - 102
RIGHT$
String Function
SYNTAX: n$ = RIGHT$(m$,p)
PURPOSE: To return the right–most p characters of m$ as a string.
REMARKS: If p is greater than or equal to LEN(m$), then m$ is returned. If p is zero, a null string is returned.
RELATED: LEFT$, MID$, LEN, INSTR
EXAMPLE: 10 A$ = "ABCDEFG"
20 PRINT RIGHT$(A$,3)
RUN
EFG
ERROR: <Data negative> – for p
<Data > 255> – for p