For the complete documentation index, see llms.txt. This page is also available as Markdown.

RIGHT

The RIGHT function returns the specified number of characters from the end of a text string. When used with a number, the function returns the result as text.

Syntax

RIGHT(text, num_chars)

Arguments

  • text: The text string that contains the characters to extract.

  • num_chars: The number of characters to extract from the end of the text.

Return value

Returns the specified number of characters from the right side of the text string.

Example

RIGHT("Region-East", 4)

Returns East.

Excel equivalent

RIGHT

Last updated

Was this helpful?