Right

Syntax

Right(string|length)

Description

Use the Right function to extract a substring of a specified number of characters from the right side of a string.

Parameters

Parameter Description

string

A string from which to extract a substring.

length

A number specifying the number of characters in the substring.

Returns

Returns a substring length characters long from the right side of a string.

Example

The following table presents an example of using the Right function.

Expression Result

right(''Hello World''|5)

World