listAppend

Concatenates a list or element to a list.

listAppend(list, value [, delimiters]) → returns String

listAppend Argument Reference

list
Required

value
Required

An element or a list of elements.

delimiters
Default: ,

Values:
  • ,
  • |
  • _
  • ;
  • :

Examples sample code invoking the listAppend function


Simple listAppend Example

Add 'foo' to the end of this list

listAppend("bar,bar2", "foo")

Expected Result: bar,bar2,foo


Simple listAppend Example with Delimiter

Add 'foo' to the end of this list using a custom delimiter

listAppend("bar|bar2", "foo", "|")

Expected Result: bar|bar2|foo


Fork me on GitHub