CONCAT
CONCAT concatenates one or more arrays together and returns the result as an array. It can take an arbitrary number of arguments.
This function is not to be confused with CONCATENATE which appends strings together.
Function category: Collection

Syntax

CONCAT([args...])
Arguments
Description
arg2
One or more arrays.

Example

Let's say we're given a response with the following vehicle information:
1
{
2
"data": {
3
"japanese_brands": [
4
"Toyota",
5
"Honda",
6
"Nissan"
7
],
8
"german_brands": [
9
"BMW",
10
"Mercedes Benz"
11
],
12
"swedish_brands": [
13
"Volvo"
14
]
15
}
16
}
Copied!
If we wanted to concatenate (combine) the two arrays into one array, use the following function.
1
# Combine separate arrays into a single array
2
CONCAT(data.japanese_brands, data.german_brands, data.swedish_brands)
Copied!
1
"Toyota",
2
"Honda",
3
"Nissan",
4
"BMW",
5
"Mercedes Benz",
6
"Volvo"
7
]
Copied!
Last modified 1yr ago
Export as PDF
Copy link