RIGHT (right part of a text string)

<< Click to Display Table of Contents >>

RIGHT (right part of a text string)

Syntax:

RIGHT(TextString [, n])

Description:

This returns the last n characters of a TextString.

If n is omitted, the function only returns the last character.

Example:

RIGHT("peanut", 3) returns nut

RIGHT("peanut") returns t

See also:

LEFT, MID, REPLACE, LEN