wwUtils::StripHTML

Removes HTML tags from the passed text and converts it to plain text. Note formatting is totally removed!

o.StripHTML(lcHTMLText, lcLTag, lcRTag)

Parameters

lcHTMLText
HTML text to parse.

lcLTag
Left tag to work with. Default: <

lcRTag
Right tag to work with. Default: >

Remarks

only <br> and <p> are translated any < or > in the HTML besides real HTML tags will break this function.


See also:

Library wwUtils

© West Wind Technologies, 1996-2024 • Updated: 08/30/10
Comment or report problem with topic