Right

Strings
Aptilis 1

Right(String, HowManyCharacters)

Right returns the last HowManyCharacters characters from the specified string.
If count goes beyond the length of the string given, the return value will be no longer than the original string. (There is no padding to meet the length requested).

Return Value:
A substring of the string given, which length will be at most, the one specified.

Example:

a = "Aptilis" $
b = right(a$, 3) $
print("3 last letters of Aptilis: ", b$, "\n")
Result:
3 last letters of Aptilis: lis