Houdini 20.0 Nodes APEX Nodes

array::Find<T>

Finds the index of an array element with a specific value.

On this page
Since 20.0

Finds the index of the array element with a specific value. Returns -1 if an element with value does not exist in the array.

Inputs

array: IntArray, StringArray

The input array.

value: Int, String

The value of the array element to find.

Outputs

index: Int

The index of the array element with value. Returns -1 if an element with value is not found.

APEX Nodes