plainText

Description

Routine strips all HTML/XML markup from a passed string and returns a clean, plain-text version.

Parameters

Return Type

String

Example

string html = "<p>Some text</p>"; string plain = plainText(html); print(plain);

See also