Take

WMA link


Take[expr, n]

returns expr with all but the first n elements removed.

Take[list, -n]

returns last n elements of list.

Take[list, {m, n}]

returns elements m through n of list.

Get the first three elements:

Get the last two elements:

Get the elements from the second element through the next to last element:

Take a submatrix:

Take a single column:

Taking the 0th element does nothing, and returns an empty list:

See also Drop.

Span
UpTo