Expression Language
Also available as:
PDF

join

Description: Aggregate function that concatenates multiple values with the specified delimiter. This function may be used only in conjunction with the allAttributes, allMatchingAttributes, and allDelineatedValues functions.

Subject Type: String

Arguments:

  • Delimiter : The String delimiter to use when joining values

Return Type: String

Examples: Given that the "abc" attribute contains the value "hello world", "xyz" contains "good bye world", and "filename" contains "file.txt" consider the following examples:

Table 1.26. Table 26. join Examples

Expression

Value

${allMatchingAttributes("[ax].*"):substringBefore(""):join("-")}

hello-good

${allAttributes("abc", "xyz"):join(" now")}

hello world nowgood bye world now