RIGHT function

RIGHT defines the last character or characters in a text string.

Syntax

RIGHT (text, number)

  • text is the text of which the last part is to be determined.
  • number (optional) is the number of characters from the last part of the text.

Example

RIGHT("Hui",2) returns ui.