concat (array)
  • 21 Jun 2022
  • Dark
    Light
  • PDF

concat (array)

  • Dark
    Light
  • PDF

Article Summary

concat (Array) Task Purpose

The arrayConcat task is used to combine the elements of one array with another. The array that returns will contain copies of all the elements combined from the original two arrays. Essentially, this task does not change the original arrays, but returns a new array, containing the values of the joined arrays.

Potential Use Case

The arrayConcat copies object references into a new array. If you have two datasets and want to combine them into one, then you could use the arrayConcat task.

Properties

Input and output parameters are shown below.

Incoming Type Required Description
arr Array Yes The first array to concatenate.
arrayN Array Yes The array to concatenate into a new array.


Outgoing Type Description
combinedArray Array A new array, representing the joined array.

Example

In this example, the arr Reference variable is given as ["a", "b", "c"] and the arrayN Reference variable is ["d", "e", f].

concatArray-ex01

Once the task runs, the new combinedArray will be ["a", "b", "c", "d", "e", "f"].

concatArray-ex02


What's Next
Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.