RightSide

Summary

The RightSide function returns the last n characters of the input string.

Syntax

RightSide(<string>, <integer>)

Return Type

String

Details

The integer input parameter index begins at 1.

Examples

select RightSide(‘abcdefg’, 3) as RightSide_example
from Empty();

screen-shot-2016-09-14-at-12-13-39-pm

 

select RightSide(first_name, 4) as RightSide_example,
first_name
from xactly.xc_participant;

screen-shot-2016-09-14-at-12-13-32-pm

 

Related Functions

LeftSide

Ltrim

Rtrim