Dim findstr = Textfield.Text
Dim itemstr As String
Dim val As Int = 0
For Each n As String In Listview.Items
itemstr = n
If (itemstr.Contains(findstr)) Then
MainForm.Title = "Item " & val & " was found"
Exit
Else
MainForm.Title = "No match"
End If
val = val + 1
Next