MACROMEDIA COLFUSION MX 7-CFML Reference page 649

Cfml reference
Hide thumbs Also See for COLFUSION MX 7-CFML:
Table of Contents

Advertisement

HTMLCodeFormat
Description
Replaces special characters in a string with their HTML-escaped equivalents and inserts
and
tags at the beginning and end of the string.
</pre>
Returns
HTML-escaped string string, enclosed in
line feed characters are preserved. Characters with special meanings in HTML are converted to
HTML character entities such as &gt;.
Category
Display and formatting functions
Function syntax
HTMLCodeFormat(string [, version ])
See also
HTMLEditFormat
Parameters
Parameter
string
version
Usage
This function converts the following characters to HTML character entities:
Text character
<
>
&
"
This function typically increases the length of a string. This can cause unpredictable results when
performing certain string functions (
string.
The only difference between this function and
not surround the text in an HTML
Description
A string or a variable that contains one.
HTML version to use; currently ignored.
• -1: The latest implementation of HTML
• 2.0: HTML 2.0 (Default)
• 3.2: HTML 3.2
Left
pre
and
tags. Return characters are removed;
<pre>
</pre>
Encoding
&lt;
&gt;
&amp;
&quot;
,
, and
, for example) against the expanded
Right
Mid
HTMLEditFormat
tag.
is that
HTMLEditFormat
HTMLCodeFormat
<pre>
does
649

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents