Can anyone point me to some vbscript that will search for a word in a string and return the number of times it appears? It will be used within an asp page.
TIA
Andrew
mattglet
8:22 pm on Feb 7, 2006 (gmt 0)
I think the easiest way to do this would be to create a RegExp object, and execute the pattern against your string. You can then count the number of matches found, and go from there.