EncodeForSQL

Encodes the input string for safe output in the body of a HTML tag.

Method Signature

EncodeForSQL(string=[string], dialect=[string], canonicalize=[boolean])

Arguments

Argument
Type
Required
Description
Default

string

string

true

The string to encode.

dialect

string

true

canonicalize

boolean

false

Whether to canonicalize the string before encoding.

false

Examples

Last updated

Was this helpful?