Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

checking a value is "in" a listview 1

Status
Not open for further replies.

HotMadras

Programmer
Apr 20, 2001
74
GB
Is it possible to check whether a particular string is one of the elements of a listview? By that I mean something like:

Code:
If "test" is in listview1 then
...etc

rather than going through every element checking if it matches the criteria.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top