This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


Take[list, n]
gives the first n elements of list.
Take[list, -n]
gives the last n elements of list.
Take[list, {m, n}]
gives elements m through n of list.
Take[list, seq1, seq2, ...]
gives a nested list in which elements specified by seqi are taken at level i in list.
  • Take uses the standard sequence specification:
Allall elements
Noneno elements
nelements 1 through n
-nlast n elements
{n}element n only
{m,n}elements m through n inclusive
{m,n,s}elements m through n in steps of s
  • Take can be used on an object with any head, not necessarily List.
  • Take[list, seq1, seq2] effectively extracts a submatrix from list.
New in 1 | Last modified in 4