Web.HTTPApp.HTMLDecode
From RAD Studio API Documentation
Revision as of 16:33, 16 October 2011 by TestAccount (Talk | contribs)
Delphi
function HTMLDecode(const AStr: String): String;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall HTMLDecode(const System::UnicodeString AStr);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | Web.HTTPApp.pas Web.HTTPApp.hpp |
Web.HTTPApp | Web.HTTPApp |
Description
Replaces the HTML character entities with the corresponding HTML special characters.
HTMLDecode is the inverse function of HTMLEncode. HTMLDecode replaces the HTML character entities (see the left column in the following table) with the corresponding HTML special characters (see the right column in the following table).
| HTML character entity | Special HTML character |
|---|---|
| & | & |
| < | < |
| > | > |
| " | " |