Table of Contents

Skip

C10 - initial

skip (Sifts)
TypeCorrade progressive sift
Siftskip
Parametersinteger
DescriptionThe skip sift will remove a supplied number of elements in a list from the start of the list.
Last ChangesNone

The skip sift will remove a supplied number of elements in a list from the start of the list.

Arguments

Position Type Description Example
0 integer The number of items to remove from the list. 5

Example

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
    ]),

Effect on Returned Data

Given the input

data=a,b,c,d,e,f,h,g,h,i,j,k

the expected output is:

data=f,h

Notes