HTMLEditFormat(string [, version ])
Returns HTML escaped string. All carriage returns are removed from string, and all special characters (> < " &) are escaped.
See also HTMLCodeFormat.
String being HTML escaped.
The specific HTML version to use in replacing special characters with their entity references. Valid entries are:
-1
- The latest implementation of HTML
2.0
- For HTML 2.0 (Default)
3.2
- For HTML 3.2
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.