CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: InStr() usage

  1. #1
    Join Date
    Dec 1999
    Posts
    2

    InStr() usage

    Can anyone explain this InStr() function futher? I could not understand 'Performs binary comparison' from the explaination from MSDN Library.


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: InStr() usage

    if you do a TEXT comparison "hello" is equal to "HELLO".
    This is not so in binary comparison mode.


  3. #3
    Join Date
    Dec 1999
    Posts
    2

    Re: InStr() usage

    how about the value returned by InStr()? Is that position of the string?


  4. #4
    Join Date
    Dec 1999
    Location
    Malaysia
    Posts
    56

    Re: InStr() usage

    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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured