As I discussed with some Members in the Suggestions Forum, I'd like to report something which puzzle me for a long time :
The following script :
$String1 = "ABCD" $String2 = "A" $String3 = "" ? Instr($String1,$String2) ? Instr($String1,$String3)
returns :
1 1
I sure understand the mathematical point of view that argues "Empty is in Everything", but I would have preferred a returned value of -1 for eg., or 0.
Am I Wrong ?
|