AsText

The AsText() returns a rich text as plain text, including all HTML tags as normal and visible text.

This function is NOT SQL compatible. For more information about SQL compatibility, see our documentation.

Returns a text that includes all HTML tags as normal text. Returns Invalid expression if one of the parameter values is unknown, or when the input text is not a rich text.

Syntax

AsText(text)

AsText(RichText("<html><body>Welcome</body></html>")) => "<html><body>Welcome</body></html>"

AsText("Welcome") => "Welcome"

AsText() => Invalid expression

Parameters

NameTypeRequiredDescription

text

text

a HTML text

Last updated