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

For example

Let’s say we have below list

[a, b, c]

And the separator ‘d’ is inserted
Element: d

Result
[a, d, b, d, c]
0 0 vote
Article Rating
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments