HTML detection

Chipp Walters chipp at
Wed Oct 11 21:16:55 EDT 2006

That wouldn't work as there are more than one <p> in a field with multiple cr's.

JBV, I think I would need more information about what you're trying to
do. If you're talking about strict HTML, then of course as previously
mentioned, checking for "<html" in the string should work. If you're
looking to strip tags from text then there are a couple ways to do


On 10/11/06, Bill Marriott <wjm at> wrote:
> I suppose that you could say something like:
> If "<p>" & the text of fld 1 & "</p>" = theHTMLtext of fld 1 then
>   -- it's not formatted
> else
>   -- it's formatted
> end if

More information about the use-livecode mailing list