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 >

Most

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