![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: Count number of occurrence of wordby Kenosis (Priest) |
on Mar 09, 2014 at 18:14 UTC ( #1077596=note: print w/replies, xml ) | Need Help?? |
If you want to count all WORD occurrences within a string (but not within substrings), you can do the following using the goatse operator:
Hope this helps!
In Section
Seekers of Perl Wisdom
|
|