NetLogo Help: remove-item

### remove-item2.0

#### remove-item index list remove-item index string

For a list, reports a copy of list with the item at the given index removed.

For strings, reports a copy of string with the character at the given index removed.

Note that the indices begin from 0, not 1. (The first item is item 0, the second item is item 1, and so on.)

If index is fractional, it will be rounded down to the nearest integer (4.5 becomes 4, 10.9 becomes 10).

    set mylist [2 7 4 7 "Bob"]
    set mylist remove-item 2 mylist
    ;; mylist is now [2 7 7 "Bob"]
    show remove-item 2 "string"
    => "sting"

Take me to the full NetLogo Dictionary