Search items in a listbox - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Search items in a listbox

porodoroporodoro Posts: 230Member
Hi! ,
Can someone help me on how to search strings in a listbox ?
I used the findstring , but its case sensitive.Any ideas?
thanks.

Comments

  • karthikeyanMCPkarthikeyanMCP Posts: 2Member
    Hi,
    Could you please brief the scenario ?


    : Hi! ,
    : Can someone help me on how to search strings in a listbox ?
    : I used the findstring , but its case sensitive.Any ideas?
    : thanks.
    :

  • porodoroporodoro Posts: 230Member
    : Hi,
    : Could you please brief the scenario ?
    :
    :
    : : Hi! ,
    : : Can someone help me on how to search strings in a listbox ?
    : : I used the findstring , but its case sensitive.Any ideas?
    : : thanks.
    : :
    :
    :
    Well , i've got a listbox with strings , eg:

    listbox1.items.add("Hello ..");
    listbox1.items.add("A listbox is an array of strings.. or not?? ");
    listbox1.items.add("Call me as soon as possible");

    I want , somehow , to search for the word "STRINGS" in the list,
    or the phrase "is an array".
    How can i do this ? the msdn example isnt that usefull , coz its case sensitive (it searches only the items one by one).


Sign In or Register to comment.