Delete From Array function
|Owning palette||Array palette|
|Requires||Basic Development Environment|
The Delete From Array function deletes an element or subarray from an array and returns the deleted portion.
Connect an array to the n-dim array input terminal to delete the last element.
Connect an index to the index terminal to delete that element.
By default the length input terminal is set to 1, which causes the node to remove exactly one element from the array. Connecting a wire to this terminal will cause the output terminal deleted portion to change from a single element to an array of elements, even if only one element is removed.
- Do not wire a value to the index terminal to remove elements from the end of an array.