24/7 Support: 800.608.6482

miva_array_find

MvDo Function, MVT, Miva 9+, Engine v5.22+

Tag / Description

miva_array_find( needle, haystack var, offset )

<mvt:assign name="g.return_value" value="miva_array_find( needle, haystack var, offset )" />

Performs a sequential search for "needle" in array "haystack", starting at "offset". Comparison is equivalent to the EQ operator. (i.e. looks for an exact match)

Parameters

Return Values

Examples

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

Copyright © 1997 – 2026 Miva®, Miva Merchant®, MivaPay Vault®, Camp Miva®, Miva Connect®, Vexture℠, Miva, Inc. All Rights Reserved.