If you're looking for the number of matches for a certain substring within a string you could look at the thread
Counting Substrings in Strings. However depending on what you want one of the other solutions listed above might be simpler and better.
vroom | Tim Vroom |
vroom@cs.hope.edu