JOIN_ARRAYS
Joins any number of arrays by index using a MessageFormat pattern.
Syntax
Arguments
Name
Type
Description
Default Value
formatString
string
The format string where {n} prints the n'th input. For example, the pattern '{0}.{0}.{1}' on the inputs 'a' and 'b' will result in the string 'a.a.b'
null
inputs#
any
Returns
Returns a string
value.
Examples
formatString
inputs1
inputs2
inputs3
Output
'{0} {1} is {2} years old'
array['John', 'Jane']
array['Smith', 'Johnson']
array[35, 32]
[John Smith is 35 years old
, Jane Johnson is 32 years old
]
'{0}:{1}'
array['red', 'green', 'blue', 'luminosity']
array[255, 255, 0]
[red:255
, green:255
, blue:0
, luminosity:
]
Transformation job example
SQL
Query result
formatString
inputs1[]
inputs2[]
inputs3[]
Output
'{0} {1} is {2} years old'
array['John', 'Jane']
array['Smith', 'Johnson']
array[35, 32]
[John Smith is 35 years old
, Jane Johnson is 32 years old
]
Last updated