right() Function

Function

right( text, num_chars )

Returns a specified number of characters from the text, starting from the last character.

Parameters

Keyword Type Description

text

Text

The text from which the substring will be taken.

num_chars

Number

The length in characters of the subtext to extract.

Returns

Text

Usage considerations

Although the characters are counted right-to-left, their order will remain left-to-right.

Examples

You can experiment with this function in the test box below.

Test Input

right("boston",3) returns ton

Open in Github Built: Fri, Oct 22, 2021 (11:09:30 AM)

On This Page

FEEDBACK