HTMLEditFormat(string [, version ])

Returns HTML escaped string. All carriage returns are removed from string, and all special characters (> < " &) are escaped.

See also HTMLCodeFormat.

string

String being HTML escaped.

version

The specific HTML version to use in replacing special characters with their entity references. Valid entries are:

Usage

By escaping all special characters, this function increases the length of the specified string. This can cause unpredictable results when performing certain string functions (Left, Right, and Mid, for example) against the expanded string.