Right (Characters from Right Side)

The Right function returns a substring that is a defined number of characters from the right side of the original string.

Syntax

variable = Right (SearchString, NumChars )

Parameters

SearchString (Search String)

The string to evaluate.

Type: String or variable

NumChars (Number of Characters)

Specifies the number of characters from the left or right side of the string to return.

Type: Variable or Constant