Skip to content

RIGHT

Returns a portion of the input string for an input number of characters starting from the right.

js
RIGHT(input_string, length)
RIGHT(input_string, length)

Parameters

  • input_string - The string input.
  • length - The number of characters to keep.

Examples

js
RIGHT("Hello World", 5)
RIGHT("Hello World", 5)

Result: World