Skip to main content

Right

Right Function​

Returns the specified number of character or characters at the end of a specified text string, based on the number of characters specified in the scalar input.

Syntax​

Right (scalar StringValue, scalar Length)

Arguments​

ArgumentDescription
scalar StringValueString to be evaluated
scalar LengthNumber of characters (counting from the right side of the string) to be returned

Examples:

Right('Newspaper',5)

Returns the rightmost 5-charecters of the string 'Newspaper'.