DELETE

Deletes an item from an array at a given index and returns the array minus that deleted value.

Syntax 

DELETE(array, index)

Usage examples 

Example 1

Formula

DELETE(["a", "b", "c"], 1)

Output

1
[
2
"a",
3
"c"
4
]

Example 2

Accepts negative indexes.

Formula

DELETE(["a", "b", "c"], -1)

Output

1
[
2
"a",
3
"b"
4
]

Sample Actions 

Transform
My Action
Transform
DELETE

Select an action to inspect

You can also click "Copy actions" and paste them in your Tines story to see how they work.

Was this helpful?