### remove-item

#### 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 string2 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.)

    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