right() function

Returns a substring that contains the n rightmost characters of the string.

Syntax

right(string, pos)

Arguments

string - is string. The string.
length - is int. The numbder of characters from the right to return.

Example

right('Hello World',5) -> 'World'