Lists & arrays
Scalar
list_slice()
list_slice with added step feature.
Arguments & returns
2 overloadslist_slice(list, begin, end)
Scalar
Extracts a sublist or substring using slice conventions. Negative values are accepted.
| Overload link | list | begin | end |
Returns |
|---|---|---|---|---|
| #01 | ANY | ANY | ANY |
ANY |
list_slice(list, begin, end, step)
Scalar
| Overload link | list | begin | end | step |
Returns |
|---|---|---|---|---|---|
| #02 | ANY | ANY | ANY | BIGINT |
ANY |
Example
1 more ↓Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.
More examples
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.