Difference Function
Description:
Those members of the source list which are not members of the removal list.
Note that the order of members of the source list is preserved.
Returns:
Any*
Parameters:
Parameter | Data Type | Description |
|---|---|---|
1 | Any* | The source list. |
2 | Any* | The removal list. |
Examples:
When using functions inside a field, remember the field brackets:
{Difference(MemberList, StaffList)}
Expression | Result |
|---|---|
Difference( List("a","b","c","d","e"), List("a","d","e") ) | List("b","c") |
Difference( List("a","a","b","b","c","d","e"), List("a","d","e") ) | List("b","b","c") |