Instr function

Hi If Instr(1,ssvalue(k), “->”,5) > 0 Then — doing some thing—

elseif

Instr(1,ssvalue(k), “–>”,5) > 0 Then

— doing some thing—

end if

but the result matches in teh first instr itself even the

ssvalue(k )has → any idea why so and please suggest me hwo to over come

thanks

soma

Subject: change the order

“->” exists within “–>”. So, if you test for “->” first, it will find that and use it, regardless of if it is PART of a string that says “–>”.

Change the order to test for “–>” first.