RIGHT
The RIGHT function returns a specified number of characters from the right-hand side of a string.
The RIGHT function is often used to manipulate string inputs and outputs, for example, to show shortened string values on Mimics.
Function Name |
RIGHT |
Description |
Returns a specified number of characters from the right-hand side of an input string. |
Arguments |
RIGHT('STRING', LENGTH) Where:
|
Returns |
STRING. The returned value is a string value that consists of the specified number of characters. The characters are taken from the defined input string, beginning at the last character and moving backwards toward the left of the string. |
Example:
RIGHT( 'Pipeline', 4 )
The output is 'line'.