syntax:functions:setcontainsall
Table of Contents
SetContainsAll(list1, list2[, separator])
Category: Text function
Description
This function returns TRUE if list1 contains all the distinct values from list2.
Arguments
Argument | Type | Description |
---|---|---|
list1 | List (Text) | A delimited set of string values. |
list2 | List (Text) | A delimited set of string values. |
separator | Text | The delimiter to use in the concatenation of the output string. If not defined, the default is comma. |
Return value type: Boolean (TRUE/FALSE)
Remarks
All leading and trailing spaces are removed from around the list values.
Examples
setcontainsall("A, B, C", "B,C") //returns TRUE setcontainsall("A;B", "B ;C", ";") //returns FALSE (list1 does not contain "C")
See also
syntax/functions/setcontainsall.txt · Last modified: 2024/04/12 02:00 by craigt