HTMLToText(HTML: String): String
Given an encoded HTML, returns a string containing the textual representation of the rendered HTML.
HTMLToText function has these named arguments:
Parameter |
Description |
HTML |
Required. The string of HTML to render as text. |
Sample code:
html = "<p>There is a <u><b>growing</b></u> realisation– that</p>" HTMLText = HTMLToText(HTML) Print HTMLText
Returns: There is a growing realisation– that