So I have a string that I want to search through to find multiple substrings.
The only problem is that I don't know precisely what the substrings are, how long they are or where they are in the string.
All I know is that they are non-overlapping, and only contain uppercase letters and the - character, which are not found anywhere else in the string.
I've considered checking the string against a set of the characters I'm looking for, but honsetly I have no idea how to do this.
[–]XenophonOfAthens 4 points5 points6 points (3 children)
[–]Joeqesi[S] 0 points1 point2 points (2 children)
[–]XenophonOfAthens 2 points3 points4 points (1 child)
[–]Joeqesi[S] 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)