Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
RIGHT$ Function
◄Syntax► ◄Details► ◄Example► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
RIGHT$(stringexpression$,n%)
■ stringexpression$ Any string variable, string constant, or string
expression.
■ n% A numeric expression whose value is between 0
and 32,767, inclusive, indicating how many
characters are to be returned.
Returns
A string that consists of the rightmost n% characters of a string.
See Also ◄LEFT$► ◄MID$ Function► ◄LEN►