Great suggestions, guys! Thanks so much! And yes, I stand corrected. A better suited subject title would have been "Counting all overlapping substrings". Thanks again, Chris