>yes you are correct
Then, it seems to me that you should do the following step.
1) Replace spaces and commas with chr(13) + chr(10).
2) Copy to an array, with alines().
3) Copy this to a temporary cursor - one record for each word.
4) Use a SELECT with GROUP BY (or with DISTINCT) to eliminate duplicates.
5) Put the pieces together again, and copy to your destination.
6) Repeat for each record in the table, if this is what you want.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)