Split 1D Array
- Updated2023-02-17
- 2 minute(s) read
Split 1D Array
Divides an array at a specified index and returns the two portions.
The element at the specified index appears at the beginning of the second portion.

Inputs/Outputs

array
A 1D array of any type.
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

index
The location that specifies where to split array. If index is negative or 0, first subarray is empty. If index is equal to or greater than the size of array, second subarray is empty.

first subarray
array[0] through array[index-1].
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.

second subarray
The remaining array elements not already contained in first subarray.
Data Type Changes on FPGA
When you add this node to a document targeted to an FPGA, this input has a default data type that uses fewer hardware resources at compile time.