Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Core Language > Expressions > Parts of Expressions >

Rest

Rest[expr]
gives expr with the first element removed.
  • Rest[expr] is equivalent to Drop[expr, 1].
The head need not be List:
Rest works on SparseArray objects:
Nest the operation of finding the rest of a list:
Rest[expr] is equivalent to Drop[expr, 1].
The expression is evaluated before Rest is applied:
Rest always operates on the FullForm of expressions:
New in 1
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team