Expression Language
Also available as:
PDF

anyDelineatedValue

Description: Splits a String apart according to a delimiter that is provided, and then evaluates each of the values against the rest of the Expression. If the Expression, when evaluated against any of the individual values, returns true, this function returns true. Otherwise, the function returns false.

Subject Type: No Subject

Arguments:

  • Delineated Value : The value that is delineated. This is generally an embedded Expression, though it does not have to be.

  • Delimiter : The value to use to split apart the delineatedValue argument.

Return Type: Boolean

Examples: Given that the "number_list" attribute contains the value "1,2,3,4,5", and the "word_list" attribute contains the value "the,and,or,not", consider the following examples:

Table 1.24. Table 24. anyDelineatedValue Examples

Expression

Value

${anyDelineatedValue("${number_list}", ","):contains("5")}

true

${anyDelineatedValue("this that and", ","):equals("${word_list}")}

false