Core APIs
List

Splice

1min

oSplits a given JSON List into two based on splice index and splice rows. If the list has 5 rows and the splice_index is 0 and splice_rows is 3, then the output will have two lists. First one will have the first 3 items and the second one will hold the remaining seven.

The function can be used to extract a range from anywhere in the list by configuring the splice_index and splice rows accordingly.

Note: The splice_index function is a zero based index. Which means that 0 refers to the first item in the list.



API Definition

Call the following API:
POST
Request


Updated 26 Apr 2023
Doc contributor
Did this page help you?