function uniqueWordsOf theString repeat for each word thisWord in theString add 1 to wordsList[thisWord] -- array variable end repeat return the keys of wordsList -- the list of words end uniqueWordsOf -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv _______________________________________________ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Here's one from the LiveCode Resource Center included in the product (in
the RC see Tutorials -> Text ->Listing all the unique words in a piece
of text):
- Re: List Words from Textarea Richard Gaskin
- Re: List Words from Textarea Jim Lambert
- Re: List Words from Textarea Jim Ault
- Re: List Words from Textarea Joe Lewis Wilkins
- Re: List Words from Textarea J. Landman Gay
- Re: List Words from Textarea Joe Lewis Wilkins
- RE: List Words from Textarea Razvan Pantescu
- Embed website into Rev Razvan Pantescu
- Re: Embed website into Rev Richmond
- RE: Embed website into Rev Razvan Pantescu
- Re: Embed website into Rev Pierre Sahores