Skip to main content

RemoveRange

This activity removes a specified range of elements from an array starting at a given index.

Core Functions​

  • Accepts an existing array as input
  • Uses the provided index as the starting position
  • Removes the specified number of elements from the array
  • Returns the updated array after the range has been removed

Inputs​

  • Array: Represents the array from which elements will be removed
    Type: Array

  • Index: Specifies the starting index from which elements will be removed
    Type: Integer

  • Count: Specifies the number of elements to remove starting from the given index
    Type: Integer

Outputs​

  • Array: Returns the array after the specified range of elements has been removed
    Type: Array

Short Technical Summary​

Removes a specified number of elements from an array starting at a given index and returns the updated array after the operation.