Hello all,
I create an array with combination of 4 numbers from 99 i.e. 99C4
e.g. the array $myArray contain: 1--2--3--4, 1--2--3--5... 96--97--98--99
(yes, I join 4 numbers by '--' to become a 'string and put into an array)
Then I have a data file with various combinations e.g. 13--17--33--88. 1--2--3--45
Then I use _arraysearch(($myArray,$inValue,0,0,0,0,1,0)
to see how many occurrence of the data in the array and the expected result is something like that:
Value Count
1--2--3--4 2
1--2--3--5 0
1--2--3--6 4
But I find that 1--2--3--44 also count into 1--2--3--4 !!!!! Seems that substring of inValue will used to perform partial match by _arraysearch function!!!
How can I make arraysearch perform exact match for me ? Thanks.
Regds
LAM Chi-fung