Indy 9 | Content | Index | Reference

StrHtmlDecode
See Also, Unit: IdStrings
Converts a string containing reserved HTML Entity references to a string using HTML reserved characters.

    function StrHtmlDecode(const AStr: String): String;

Unit
IdStrings
Parameters
const AStr: String
Strinbg contain HTML Entity references to be converted.
Return Value
String - String containing HTML reserved characters.
Description
StrHtmlDecode is a String function that converts a string containing reserved HTML Entity references to a string using HTML reserved characters. StrHtmlDecode will convert the following HTML Entity references to their HTML reserved character representation:

- &amp; - &

- &lt; - <

- &gt; - >

- &quot; - "

- &apos; - '

Use StrHTMLDecode to convert a string containing HTML reserved characters to their HTML Entity reference representation.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.