HTML detection

Chipp Walters chipp at chipp.com
Wed Oct 11 20:16:55 CDT 2006


Bill,
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
that.

-Chipp

On 10/11/06, Bill Marriott <wjm at wjm.org> 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