Inserts an element in a list.
listInsertAt(list, position, value [, delimiters])
returns string
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| list | string | Yes | ||
| position | numeric | Yes | ||
| value | string | Yes | ||
| delimiters | string | No | , |
Inserts ‘foo’ into the list at position 2
listInsertAt("bar,lorem,ipsum", 2, "foo")
Inserts ‘foo’ into the list with a custom delimiter
listInsertAt("bar|lorem,ipsum|me|something", 2, "foo", "|")