1.3.11.50 Concatenate String to Array
The Concatenate String to Array processor concatenates a String attribute on to each element of a String Array.
An example use case for this processor is to prepend a dialling code to each phone number in an array.
The following table describes the configuration options:
| Configuration | Description |
|---|---|
|
Inputs |
|
|
Options |
Specify the following options:
|
|
Outputs |
Resulting array after concatenating inputs. |
Output Filters
None.
Example
| Array | String | Separator | Ignore empty? | Append or Prepend | Output Value |
|---|---|---|---|---|---|
|
(London,)(Cambridge,) |
United Kingdom |
<Not Set> |
N/A |
Append |
(London,United Kingdom)(Cambridge,United Kingdom) |
|
(John)(Smith) |
<Null> |
<Not set> |
Y |
Append |
(John)(Smith) |
|
(Sydney)(Perth) |
<Null> |
", " |
N |
Append |
(Sydney,)(Perth,) |
|
(A)(B) |
C |
<Not Set> |
N/A |
Prepend |
(CA)(CB) |