exlst(L;E)
Remove the contents of list-value E
from
list-value L
.
Syntax
exlst(L;E)
Input
Argument | Type | Description |
---|---|---|
L |
list-value | A list-value from which to exclude elements found in the list-value passed to
the E parameter |
E |
list-value | A list-value whose values should be excluded from the list-value passed to the
L parameter |
Return Value
Returns a single list-value that contains elements from L
that did not
appear in E
.
Example
This example demonstrates how to use exlst(L;E)
to create a single
list-value out of two list-values. The list-value returned contains only the values that
appeared in the list-value passed to the L
parameter that did not appear in
the list-value passed to the E
parameter.
<block name="list_funs" list_a="{lst('1' '2' '3' '4' 'a')}" list_b="{lst('1' 'a' 'b' 'c' 'd' '2')}"> <base table="default.lonely"/> <willbe name="exclude" label="Exclude" value="'{exlst(@list_b;@list_a)}'"/> </block>
The list-value output from the exlst(L;E)
function as used above: