Code:
Dim str As String = "something bla bla "
If CheckBox3.Checked Then
For Each itm As String In ListBox2.Items
If str.Contains(itm) Then
Dim imp As String = "Something here"
For Each pair In list
If pair.Contains(imp) Then
id = pair.Replace(imp, "")
End If
Next
End If
Next
End If
also im reading the strings into a list of strings which are in this format :
Quote:
Example 45432
Quote:
Example1 85859