The ToRichText() function converts a text to HTML.

Syntax

ToRichText(text)

Returns

A copy of text that can be used as HTML.

Parameters

  • text – a text.

Examples

ToRichText("This is the homepage.")
/* returns a rich text with: "This is the home page." */

ToRichText("<p>This is the homepage.</p>")
/* returns a rich text with: "<p>This is the home page.</p>" */

 +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