Split 1D Array Function

Owning Palette: Array VIs and Functions

Requires: Base Development System

Divides array at index and returns the two portions with the element of index at the beginning of second subarray.

The connector pane displays the default data types.

Details  

 Add to the block diagram  Find on the palette
array can be a 1D array of any type.
index must be numeric. 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 contains array[0] through array[index-1].
second subarray contains the remaining array elements not already contained in first subarray.

Split 1D Array Details

If the input array is empty, both output arrays are empty. This function does not generate an error if you pass in an empty array.