RIGHT$

command

Return the rightmost n characters of a string.

string$ = RIGHT$(string$, n)

n - number of characters; 0 for none, clamped to the string length

See also LEFT$, MID$.

Example:

PRINT RIGHT$("MMBASIC", 3)  ' SIC

Source: docs/help/right-dollar.txt inmmcore. On the computer, typeHELP RIGHT$.