Deletes an element from a list. Returns a copy of the list, without the specified element.
listDeleteAt(list, position [, delimiters])
returns string
Name | Type | Required | Default | Description |
---|---|---|---|---|
list | string | Yes | ||
position | numeric | Yes | ||
delimiters | string | No | , |
Deletes 2nd item from the list
listDeleteAt("foo,bar,lorem,ipsum", 2)
Deletes 2nd item from the list using a custom delimiter
listDeleteAt("foo,bar|lorem,ipsum|me|something", 2, "|")