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
| Argument | Description |
|---|---|
scalar StringValue | String to be evaluated |
scalar Length | Number 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'.