Playing with strings
chipp at chipp.com
Fri Oct 7 16:50:23 EDT 2005
create a field, set the htmlText of the field to your html, then get the
text of the field. It will strip out the tags for you.
Setec Multimedia wrote:
> Hello everybody,
> I'm curenytly trying to perform a small utility wich would extract the
> text datas of an html file into separated items or lines of a field.
> For example, this html code :
> <strong><font size="1">example of texte 1 <br>
> <a href="#link"><br>
> example of link</a></font></strong>
> …would return these result in a defined field :
> example of texte 1
> example of link
> The problem is that it seems impossible to extract something beetween
> two items (simply beetween the ">" and "<" tags) in a simple way.
> Do you see any good way to do this ?
More information about the Use-livecode