|P is for Practical|
Re: Reading through a file and checking for a specific stringby protist (Monk)
|on Aug 20, 2013 at 08:51 UTC||Need Help??|
I am not sure why you are using so much indexing.
Here is an example that demonstrates finding the two letter combinations at any point in the string.
I didn't want to have to test all the substring stuff, but this should give you an idea of how to avoid all the needless indexing.