striphtmltags(
striphtmltags(
TEXT
)

The striphtmltags( function removes all HTML tags from the text.

Parameters

This function has one parameter:

text – text containing one or more HTML tags.

Description

This function removes all HTML tags from the text.

    striphtmltags("<B>Now</B> is the time") ☞ Now is the time

Note: This function is equivalent to:

    tagstrip(thetext,"<",">")

See Also

- htmlbold( -- takes the text and adds `` and `` tags to it.
- htmlitalic( -- takes the text and adds `` and `` tags to it.
- richtextdata( -- adjusts text so that it will display properly in rich text even if it contains a < character.
- richtextdisplay( -- works with Text Display objects to display text with multiple styles, fonts, colors and alignments.
- tagstrip( -- removes tags (usually HTML tags) from within a piece of text.
- xtagvalue( -- extracts the text from the first matching HTML or XML tag.

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0.