RIGHT
Returns a substring from the end of a given string.
Parameters
value
String (required) - The string value from which the right portion will be returned.
number_of_characters
Number (optional) [default = 1] - The number of characters to return from the right side of the string.
Returns
String
Examples
RIGHT("ABCDEFG", 4)
// returns "DEFG"
RIGHT("000001")
// returns "1"
Updated about 1 year ago