Better late than never, I hope: the long and shotr of why InStr returns 1 if you search for an empty string is... that it is compatible with the implementation of InStr in other languages (such as Visual Basic).
Maybe not the exciting answer you were looking for, but there you go ;-)
Ruud
|