Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table plus
applyColStyleToCelltrue
heading0
columnTypess,s,s,s
multiplefalse
columnAttributesstyle="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold,
enableSortingfalse

Syntax

plainText(html/xml)

Package

Alias

Pkg Usage

Description

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

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

Parameters

Table plus
applyColStyleToCelltrue
columnTypess,s,s,s
heading0
multiplefalse
enableSortingfalse

Parameter name

Type

Required

Description

html/xml

String

Yes

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

Return Type

String

Example

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

See also

Filter by label (Content by label)
showLabelsfalse
max25
showSpacefalse
cqllabel = "page_routines" and space = currentSpace ( )
labelsarray_routines