ListRemove

Qubes 9.0 Removes items from a list.

Syntax

ListRemove(list, items, ...)
list = list where values are to be removed
->items = value or list of values to remove
->... = further values or lists of values to remove

Remarks

One occurrence per item is removed from the result, to remove all occurrences of items, see ListExclude.
This function preserves the initial order.

Exclusion matches are exact, ie. '0' as a string and 0 as a number are considered as two distinct values.

Examples

ListRemove(List(1, 2, 3, 2), 2) = ( 1, 3, 2 )
ListRemove(List(1, 2, 3), List(1, 4), 2) = ( 3 )

Classification

Ranges