I'm confused by your question. The code you posted is correct, assuming that you are using InStr as intended (to see if str2 can be found inside str1).
Or are you saying that str1 and str2 are numbers, and you want to do a numeric comparison on them???
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.