remove

remove is a compiled Lisp function in `subr.el'.

(remove ELT SEQ)

Return a copy of SEQ with all occurrences of ELT removed.
SEQ must be a list, vector, or string. The comparison is done with `equal'.