Specifications

377
Syntax:
RIGHT$(stringexpression,stringlength)
Parameter:
stringlength
A numeric expression which returns a value from 0 to 255.
Description:
Starting at the right side of the string, RIGHT$ extracts a portion of a string speci-
fied by stringexpression by the number of characters specified by string-
length
.
If
stringlength is zero, RIGHT$ returns a null string.
If
stringlength is greater than the length of stringexpression, the
whole stringexpression will be returned.
Run-time errors:
Reference:
RIGHT String function
RIGHT$
Returns the specified number of rightmost characters from a given string expression.
Error code Meaning
05h
Parameter out of the range
(
stringlength is out of the range.)
Functions:
LEFT$, LEN, and MID$