ListExclude
Qubes 9.0 Excludes items from a list.
Syntax
ListExclude(list, filter, ...)
list = list where values are to be excluded
filter = value or list of values to exclude
... = further values or lists of values to exclude
filter = value or list of values to exclude
... = further values or lists of values to exclude
Remarks
All occurrences of a filtered value are excluded from the result, to remove only one occurrence per filter, see ListRemove.
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
ListExclude(List(1, 2, 3, 2), 2) = ( 1, 3 )ListExclude(List(1, 2, 3), List(1, 4), 2) = ( 3 )