Quantcast
Viewing all articles
Browse latest Browse all 15778

Finding list item that matches a pattern

This should be easy, but I have been beating my head against this for a while and need help…

In Visual Basic, I have created a list of strings, each string having the same number of characters. For example, my list might contain: AABCF, CFACA, BBEEE, AAAAF. In now need to ‘prune’ the list by removing all strings that have specific letters at two specific places, for example “A??C?”. In this case, the pattern matches the first string in the list and it is to be removed.

Seems simple, but I cannot figure this out. Please help!

Viewing all articles
Browse latest Browse all 15778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>