<div class="meta" robots="noindex">

</div>

Method

# Arrays.RemoveRowAt

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2020r2. Please use `Arrays.RemoveAt<arrays.removeat>` as a replacement.

</div>

## Description

Removes the specified row from the array.

## Usage

*array*.**RemoveRowAt** *index*

| Part  | Type                               | Description                                       |
|-------|------------------------------------|---------------------------------------------------|
| array | Any data type                      | Required. The array from which to remove the row. |
| index | `Integer</api/data_types/integer>` | Required. The index number to be removed.         |

## Notes

The <span class="title-ref">RemoveRowAt</span> method removes the *index* row from the *array*. The remaining rows are shifted down to the removed row so that there are no gaps in the array.

The <span class="title-ref">RemoveRowAt</span> method works with one-dimensional arrays only.

Arrays can have a maximum index value of 2,147,483,646.

## Sample code

This example removes row 1 from the aNames array:

``` xojo
Var names() As String = Array("Bob", "Tom", "Jane")
names.RemoveRowAt(1)
' names() = "Bob", "Jane"
```

## Compatibility

All project types on all supported operating systems.

## See also

`Arrays</api/language/arrays>` parent class; `Var</api/language/var>` statement; `Arrays</api/language/arrays>` concept; `ParamArray</api/language/paramarray>` keyword
