@MKENTITIES — Replaces characters in a string with HTML entities.

Syntax:
%@MKENTITIES[string]

@MKENTITIES will replace these characters with HTML entities:

Character:Replaced with:
"  (double quote)"
%  (percent sign)%
&  (ampersand)&
<  (less-than sign)&lt;
>  (greater-than sign)&gt;

• Note: This function can return ampersands in its output. You will need to quote it, or use SETDOS /C to temporarily change the command separator character.