Liquid XML Studio 2019
Combine
Data Mapping > Data Mapper Functions > By Category > Set > Combine

Function Name
Combine
Category
Set
Icon
CodeToChar
Description
Combines a number of sequences into a single sequence.
Inputs
Value N The input sequence to be combined.
The number of input values is dynamic
Outputs
Sequence A sequence containing all the values in all the input Values.
Properties
None -

Usage

Combines the values from all the inputs into a single sequence. All the input values must be of the same type (or castable to a common type).

The type of the output sequence is derived from a type common to all the inputs.

The number of input values can be changed to suite the usage.
Example 1

The following example combines 5 constant values into a sequence of strings.

The result would look like

A
B
C
D
E

Example 2

The "Combine 1" function creates the following sequence

1
2
3

 

The input values presented to "Combine 2" are

Input Name Value
Value 1 A
Value 2 B
Value 3 1,2,3
Value 4 D
Value 5 E

The output sequence from "Combine 2" is

A
B
1
2
3
D
E

Note: the input sequence (1,2,3) is flattened in the output.