HtmlEncode

The HtmlEncode() function converts a text to an HTML encoded text.

Wiki: more about Html Encoding

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

Returns a HTML encoded text. Returns Invalid expression if the value is unknown.

Syntax

HtmlEncode(text)

HtmlEncode("\"Line 1\"\n'Line 2'")

=> "Line 1" 'Line 2'

Parameters

NameTypeRequiredDescription

text

text

a text string that is used in an HTML element

Last updated