RIGHT

Applies to: ✅ Data 360 SQL ✅ Tableau Hyper API

Returns the last n characters from a string.

  • <string>: The source string.
  • <n>: The number of characters to return. When negative, returns all but the first |n| characters.

Returns a text value that contains the rightmost characters.

  • If exceeds the length of the string, returns the entire string.

Extract the last two characters.

Returns 'de'.