Delete

WMA link


Delete[expr, i]

deletes the element at position i in expr. The position is counted from the end if i is negative.

Delete[expr, {m, n, ...}]

deletes the element at position {m, n, ...}.

Delete[expr, {{$m_1$, $n_1$, ...}, {$m_2$, $n_2$, ...}, ...}]

deletes the elements at several positions.

Delete the element at position 3:

Delete at position 2 from the end:

Delete at positions 1 and 3:

Delete in a 2D array:

Deleting the head of a whole expression gives a Sequence object:

Delete in an expression with any head:

Delete a head to splice in its arguments:

Delete without the position:

Delete with many arguments:

Delete the element out of range:

Delete the position not integer:

Count
DeleteCases