slice

Function: slice
  Get a substring of a specified length of a text from a start index

Examples:

  slice('foobar', 0, 2)
  -- Result: "fo"

  slice('foobar', -3, 3)
  -- Result: "bar"

  slice('foobar', -10, 1300)
  -- Result: ""




Signatures
text, number, number -> text