miva_array_filter()

 
Iterate through an array starting at a given offset, execute a filter expression against each element, and copy the member to a new output array. See also miva_array_filter_ref.
Syntax
miva_array_filter( array var, offset, element var, filter_expression, output var )
Return value: Count of output array elements.
  • array var = Source array of structures.
  • offset = index in the array to start filtering from.
  • element var = Name of a variable to reference in the filter expression.
  • filter_expression = Text of an expression to execute based on the individual array element.
  • output var = Output array of all structures that tested true in the filter expression.
User Annotations: miva_array_filter