What are you trying to do? If you want a list of words wouldn't you want
to parse the 'text' rather than the 'htmlText', which includes a bunch
of HTML markup?
 
You can use the split() method of String to create an Array. For the
first argument pass a RegExp representing one or more whitespace
characters, since the words might not be separated by only a single
space character.
 
- Gordon

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of jmfillman
Sent: Wednesday, March 28, 2007 12:07 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] TextArea htmltext parsing



How would I go about taking the htmltext of a TextArea and parsing it 
based on a space and assigning each piece to an Array or 
ArrayCollection?



 

Reply via email to