Table plus |
---|
applyColStyleToCell | true |
---|
heading | 0 |
---|
columnTypes | s,s,s,s |
---|
multiple | false |
---|
columnAttributes | style="background:#e5e7ea;font-weight:bold,,style="background:#e5e7ea;font-weight:bold, |
---|
enableSorting | false |
---|
|
Syntax | plainText(html/xml) | Package | | Alias | | Pkg Usage | | |
Description
Excerpt |
---|
|
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 |
---|
applyColStyleToCell | true |
---|
columnTypes | s,s,s,s |
---|
heading | 0 |
---|
multiple | false |
---|
enableSorting | false |
---|
|
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 |
---|
|
string html = "<p>Some text</p>";
string plain = plainText(html);
print(plain); |
See also
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 25 |
---|
showSpace | false |
---|
cql | label = "page_routines" and space = currentSpace ( ) |
---|
labels | array_routines |
---|
|