@HTMLENCODE[string] : Encode a string for HTML, replacing characters like > < & with the HTML escaped characters (i.e., &gt; for >).

 

Example:

 

echo "%@htmlencode[This is & a string]"

"This is &amp; a string"

 

See also TPIPE.