right(
TEXT
,
LENGTH
)

The right( function extracts characters from the right edge of the text.


Parameters

This function has two parameters:

text – original text

length – number of characters to extract from the end of the original text. Any characters before this point will be discarded.


Description

This function extracts one or more characters from the right edge of the text. For example right(text,7) extracts the rightmost seven characters from the end of text.

right("abcdef",1) ☞ f
right("abcdef",3) ☞ def
right("abcdef",12) ☞ abcdef

Note: This function is equivalent to:

text[-len,-1]

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.