Right

Returns the right part of a text value.

Variants

Right(Text text, Numeric number)

Returns the rightmost number of characters from the text argument.

Parameters

text
The text string that contains the characters you want to extract.
number
Specifies the number of characters you want to extract.

Returns

Text

Examples

Right(Text text, Text delimiter)

Returns the right part of a text value starting at the character after the last occurrence of a delimiter value.

Parameters

text
The text string that contains the characters you want to extract.
delimiter
The delimiter string.

Returns

Text

Remarks

If the text does not include the delimiter, the entire text is returned.

Examples