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

  • This is $\lfunc{CDR}$ in theory.

secondlife/scripted_agents/corrade/api/sifts/skip.txt ยท Last modified: 2022/11/24 07:46 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.