I have accomplished something similar using a TClientDataset with 2 fields on it: Words & CountOfWord. I copied the TStrings.Text of my container into a string variable and iterated through it looking for blank spaces. The first occurence of "blank space" I copied the string to another string variable, retrieve the word and save it into my TClientDataset, creating a new row for new word and counting CountOfWord + 1 for existing words. Deleting the words found from the string image contained in the second string variable. That worked fine for me! HTH.
Emmanuel --- In [email protected], Andries Bos <andries...@...> wrote: > > Hello > > a simple question, but I can't remember the answer. > > I'm scrolling through a list of strings one by one (e.g. all words in a rich > edit) and I want to count how much unique words I have and how often these > words have been used. > > any ideas? > > regards, Andries > > > > ________________________________ > > Slide scanning / dia's scannen > vanaf / from > E0,08c > www.scancare.nl > > ________________________________ > > > > > [Non-text portions of this message have been removed] >

