Skip to main content Skip to complementary content

right

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.

Arguments

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

Examples

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 – please let us know!