I need to count how many times specific words or parts of words exist in a text. Is there a fast way to do this? Since I also need to find words inside other words (for example the word "lotion" should also be found in "sulotions" etc) I can't just repeat through the words and compare them.

Any ideas?

A Regular Expression will probably the fastest option: either using a JS-script and a RegExp object, or the (free) pRegEx xtra <http://www.openxtras.org/pregex/>



[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email lingo-l@penworks.com (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to