Razvan wrote:
>
> How can I list every word from a textarea?
First, welcome Razvan!
In addition to Pierre"s and Richmond's suggestions, here's a few:
function getWordList someText
replace space with cr in someText
return someText
end getWordList
function getUniqueWordList someText
repeat for each word w in someText
if w is not among the lines of uniqueWord then put w & cr after
uniqueWords
end repeat
-- AND JUST FOR THE HECK OF IT
sort uniqueWords
return uniqueWords
end getWordList
Jim Lambert
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution