C10 - initial
skip (Sifts) | |
---|---|
Type | Corrade progressive sift |
Sift | skip |
Parameters | integer |
Description | The skip sift will remove a supplied number of elements in a list from the start of the list. |
Last Changes | None |
The skip
sift will remove a supplied number of elements in a list from the start of the list.
Position | Type | Description | Example |
---|---|---|---|
0 | integer | The number of items to remove from the list. | 5 |
The following sift when added to a command will remove the first 5 items and then retrieve the next 2 items from the value of the data
key:
"sift", wasListToCSV([ "skip", 5, "take", 2 ]),
Given the input
data=a,b,c,d,e,f,h,g,h,i,j,k
the expected output is:
data=f,h