RE: [Request] - Phrase Counter
I believe the string function is match(regex)? It returns an array of matches, with the entire string in the first element. So, use the regex \slol\s, and add the number of elements minus one to the counter.
If you don't mind waiting till tonight, I'll write it for you.
|