plainText

plainText

Syntax

plainText(html/xml)

Package

Alias

Pkg Usage

Description

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

Parameters

Parameter name

Type

Required

Description

html/xml

String

Yes

The text itself, which may contain HTML or XML markup.

Return Type

String

Example

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

See also

Need support? Create a request with our support team.

Copyright © 2005 - 2025 Appfire | All rights reserved.