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

    Binary Search a String

    If I have an array of items and the items are strings, can I do a binary search for a particular string?

    Thanks


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

    Re: Binary Search a String

    sure, but you have to implement the bsearch algorithm yourself. There's no VB bsearch functionality that I know of.

    Why don't you use a collection or a dictionary?


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