Click to See Complete Forum and Search --> : InStr() usage


swu
December 17th, 1999, 02:38 AM
Can anyone explain this InStr() function futher? I could not understand 'Performs binary comparison' from the explaination from MSDN Library.

Lothar Haensler
December 17th, 1999, 06:10 AM
if you do a TEXT comparison "hello" is equal to "HELLO".
This is not so in binary comparison mode.

swu
December 19th, 1999, 07:16 PM
how about the value returned by InStr()? Is that position of the string?

valkyrie
December 19th, 1999, 08:10 PM
The InStr() function returns a Long datatype indicating the position of the first occurence of the character in the string.

____________________________________
The VB Bugs in my Life...