remove multiple indexes

This block is part of the array group and was last modified in core v13.0.8.

remove multiple indexes v13.0.8

Removes the items with the given indexes.

In pins 2
  • Array required
    array

    The array with the items in it.

  • Indexes required
    array

    The indexes of the items you want to remove.

Out pins 1
  • Array
    array

    The array with the items removed.

Returns a new array omitting the elements at every zero-based index listed in indexes; index values are coerced to numbers and out-of-range or duplicate entries are ignored. If indexes is not an array, the input passes through UNCHANGED.

A typical wiring for remove multiple indexes: the array out pin feeds length.

Studio canvas example for the remove multiple indexes block: typical wiring for remove multiple indexes.

Version history

Introduced in v13.0.8.


Back to array Return to the main group to view all sub-groups Back to array Return to the group to view all blocks within this group