Link Search Menu Expand Document

Array Intersperse

Inserts separator between the elements of the list.

Properties

Array: Location of the list to add the value
Element: The value to add between the elements

Output

Output-location: Location to store the output data

Example

Let’s say we have below a list

[a, b, c]

And the separator ‘d’ is inserted

Element: d

Result

[a, d, b, d, c]