@RIGHT[n,string] : If n is positive, it returns the rightmost n characters of string. If n is greater than the length of string, it returns the entire string. If n is negative, it returns string after dropping its leftmost n characters, unless n is greater than the length of string, in which case it returns an empty string.

 

Examples:

 

function

value

%@RIGHT[2,jpsoft]

ft

%@RIGHT[22,jpsoft]

jpsoft

%@RIGHT[-2,jpsoft]

soft

%@RIGHT[-22,jpsoft]

empty string