Encodes special characters within strings to be inserted into HTML documents.
HTML_ENCODE( string )
string Arbitrary string to be used in an HTML document.
LONG VARCHAR
LONG NVARCHAR
This function returns the string argument after making the following set of substitutions:
| Characters | Substitution |
|---|---|
| " | " |
| ' | ' |
| & | & |
| < | < |
| > | > |
| codes nn less than 0x20 | &#xnn; |
This function supports NCHAR inputs and/or outputs.
SQL/2003 Vendor extension.
| Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |