Weird. I get the screwed up results on 4.53.

 Code:
$array = "a","b","c"
? AScan($array,"test",,,1)

$array = "a","b","c",""
? AScan($array,"test",,,1)

$array = "a","","b","c"
? AScan($array,"test",,,1)


 Quote:

-1
3
1


Edited by Mart (2007-05-14 03:53 PM)
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.