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

  • Array: A String Array to concatenate a string value to.

  • String: A String to concatenate to the elements of the array.

Options

Specify the following options:

  • Append or prepend: select the appropriate value of the input.

  • Separator: enter the string that you want to append to the existing string element, before the String attribute is appended.

  • Ignore empty attributes: select if you want the empty (blank/<Null>) values in the input arrays to be stripped during concatenation.

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)