Skip to main content Skip to complementary content


Extracts a sub-string with a specific length from the first argument, starting with the right-most character.

Any data type can be used for the first argument. Types other than string are converted to string before the function is applied.


  1. Input string.
  2. Length of the sub-string to extract as an integer.


Expression Result
right("Hello World!", 6) "World!"

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!