### but-first
butfirst
bf
but-last
butlast
bl

#### but-first list
but-first string
but-last list
but-last string

When used on a list, but-first reports all of the list items of list except the first, and but-last reports all of the list items of list except the last.

On strings, but-first and but-last report a shorter string omitting the first or last character of the original string.

    ;; mylist is [2 4 6 5 8 12]
    set mylist but-first mylist
    ;; mylist is now [4 6 5 8 12]
    set mylist but-last mylist
    ;; mylist is now [4 6 5 8]
    show but-first "string"
    ;; prints "tring"
    show but-last "string"
    ;; prints "strin"

Take me to the full NetLogo Dictionary