---
title: "excludeSubarray"
canonical: "https://support.appfire.com/space/PSJC/433000585/excludeSubarray"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Returns an array excluding the array that starts at index 'start' and ends at index 'end'.

Returns an array excluding the array that starts at index 'start' and ends at index 'end'.

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | excludeSubarray(arr, start, end) | **Package** | array |
| **Alias** |  | **Pkg Usage** | excludeSubarray(arr, start, end) |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| arr | Array | Yes | Array. |
| start | Number | Yes | Start index. |
| end | Number | Yes | Stop index. |

## Return Type

**Array**

## See also

> Macro (contentbylabel)