RIGHT (right part of a text string)

<< Click to Display Table of Contents >>

RIGHT (right part of a text string)

Syntax:

RIGHT(Text [, n])

Description:

Returns the last n characters of Text.

If n is omitted, only the last character is returned.

Example:

RIGHT("peanut", 3) returns nut

RIGHT("peanut") returns t

See also:

LEFT, MID, REPLACE, LEN