There's got to be a better way

Jim Hurley jhurley at infostations.com
Tue Apr 12 20:13:43 EDT 2005


I have html text from a web site. (Thanks again to Dave Cragg for his 
nifty handler to extract text from a web site with forms.)

It is awkward to parse in this form. I would like to be able to parse 
the text without the html code.

So this is what I am using:

set the htmltext of field 1 to tHTMLtextFromWebSite
set the text of field 1 to field 1
put field 1 into tTextToParse

It is hard to imagine anything more clumsy. It wastes a lot time 
putting things into and out of fields. There must be a better way of 
stripping out the html code. I understand that one cannot use 
variables for this.

Jim



More information about the use-livecode mailing list