Split 1D Array Function

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help
LabVIEW 2020 Help

Owning Palette: Array 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  

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful