If I have an array of items and the items are strings, can I do a binary search for a particular string?
Thanks
Printable View
If I have an array of items and the items are strings, can I do a binary search for a particular string?
Thanks
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?