Wolfram ResearchProductsPurchasingServices & ResourcesAbout UsOur Sites
Mathematica > Parts of Expressions >

Delete

Delete[expr, n]
deletes the element at position n in expr. If n is negative, the position is counted from the end.
Delete[expr, {i, j, ...}]
deletes the part at position {i, j, ...}.
Delete[expr, {{i1, j1, ...}, {i2, j2, ...}, ...}]
deletes parts at several positions.
  • Deleting the head of a particular element in an expression is equivalent to applying FlattenAt to the expression at that point.  »
  • Deleting the head of a whole expression makes the head be Sequence.  »
New in 2
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team