drop

drop(v,n) -- yields the list obtained from the list v by dropping the first n elements. Also works for sequences.

drop(v,-n) -- yields the list obtained from the list v by dropping the last n elements.

drop(v,{m,n}) -- yields the list obtained from the list v by dropping the elements at positions m through n.

See also take.

Go to main index.

Go to concepts index.