The AsText() function returns the given HTML as text.

Syntax

AsText(html)

Returns

A text that includes all HTML tags.

Parameters

  • html – an HTML text

Examples

AsText(RichText("<html><body>Welcome</body></html>"))
/* returns "<html><body>Welcome</body></html>" */

AsText(RichText("Welcome"))
/* returns "Welcome" */

AsText("<html><body>Welcome</body></html>")
/* This expression is invalid because the parameter is text instead of HTML */

 +31 (0)20 240 21 20       

Videos and images courtesy of WEM Modeler. © 2019. WEM Modeler.
SitemapPrivacy - Terms - Company

 +31 (0)20 240 21 20       


Videos and images courtesy of WEM Modeler.
© 2019 WEM Modeler.
SitemapPrivacy - Terms - Company