I'd like to propose a new function i'm already using in many of my scripts. This function is inpired from BIS_fnc_findInPairs andd it is very useful:
- Description: Searches the associative array for the first occurance of specified value and returns its index. Seach is not case-sensitive.
- Syntax: [array, value, column] call BIS_fnc_findValueInPairArray
- Parameters: array: Array - array to search through | value: any - value to search for | column (Optional): Number - column to search in, (default 0)
Return Value:
Number - index of first occurence or -1