### item

#### item index list
item index string

On lists, reports the value of the item in the given list with the given index.

On strings, reports the character in the given string at the given index.

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

    ;; suppose mylist is [2 4 6 8 10]
    show item 2 mylist
    => 6
    show item 3 "my-shoe"
    => "s"

Take me to the full NetLogo Dictionary