8 Replies Latest reply on Oct 5, 2006 6:03 AM by Newsgroup_User

    How to count word frequency in a string?

      Hi guys

      I have a text string and I need to count the number of times a particular word is used in that string.

      Can anyone point me in the right direction in how to count the number of times say a word is used in a string?

      e.g. the word red in "i have a red car, i love the colour red, red is my favourite colour"

      Thanks very much for your responses.