take

take(v,n) -- yields a list containing the first n elements of the list v.
take(v,-n) -- yields a list containing the last n elements of the list v.
take(v,{m,n}) -- yields a list containing the elements of the list v in positions m through n.

See also drop.

Go to main index.

Go to concepts index.