Most

Most[expr]

gives expr with the last element removed.

Details

  • Most[expr] is equivalent to Drop[expr,-1].

Examples

open allclose all

Basic Examples  (2)

In[1]:=
Click for copyable input
Out[1]=
In[1]:=
Click for copyable input
Out[1]=

Generalizations & Extensions  (2)

Applications  (1)

Properties & Relations  (1)

Possible Issues  (2)

See Also

Rest  Drop  Last  Part  Take

Tutorials

Introduced in 2003
(5.0)