delete

delete(x,v) -- removes any occurrences of the expression x from the list v.

Equality is determined with == which may do extensive calculations in certain cases.

i1 : delete(c,{a,b,c,d,e,a,b,c,d,e})

o1 = {a, b, d, e, a, b, d, e}

o1 : List

See also member.


topindexpreviousupnext