Return the rightmost n characters of a string.
string$ = RIGHT$(string$, n)
n - number of characters; 0 for none, clamped to the string length
Example:
PRINT RIGHT$("MMBASIC", 3) ' SIC
Source: docs/help/right-dollar.txt inmmcore. On the computer, typeHELP RIGHT$.