Ive searched high and low and can not come up with a solution..maybe Im just using the wrong search string...any help would be great. Basically I have read a txt file line by line split with regex all works well except blank space so I .remove("") blank line. Now I need to further remove all strings that start with prefix of PREFIX_somefile. Thanks for any help!
Code:Dim str As String For Each str In strs CheckedListBox1.Items.Add(str) CheckedListBox1.Sorted = True CheckedListBox1.Items.Remove("") CheckedListBox1.Items.Remove("PREFIX_"*wildcard) Next




Reply With Quote