but thinking it logically, instr() forces the empty variable into string type, with translates to "". so it acutllay is logical on that part.
but I am not sure it should return 1, is it by design or not. cause that is not what the left most character is. one can easily think up loads of issues with that.
BxnBxn
Getting the hang of it
Registered: 2002-06-05
Posts: 63
Loc: Alpha Centauri
Hi guys ! Back after a (too) long job change, may I recall the somehow long discussions I initiated about this very subject in.. uhhh... 2002 : http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=80883 ? Ruud, you explained at that time, that compatibility constraints (or consistency) with other languages prevented any change around null string eventually invoked in Instr() function ! I'm really glad for sure, it finally lead to this change :-) Keep on the good job you do for so many years, best regards ___ BxN