Sign In

$arraySplice[]

Removes x elements starting from y index, returns deleted elements

v1.0.0+ Requires Brackets

Usage

$arraySplice[;;;]

Arguments

NameTypeRequiredDescription
variable
StringYesThe variable the array is held on
index
NumberYesThe start index
delete count
NumberYesThe number of items to delete
...elements
StringNoThe elements to insert in the deleted indexes

Output

Json

Was this page helpful?