Web.HTTPApp.HTMLDecode

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function HTMLDecode(const AStr: String): String;

C++

extern DELPHI_PACKAGE System::UnicodeString __fastcall HTMLDecode _DEPRECATED_ATTRIBUTE1("Use TNetEncoding.HTML.Decode") (const System::UnicodeString AStr);

Properties

Type Visibility Source Unit Parent
function public
Web.HTTPApp.pas
Web.HTTPApp.hpp
Web.HTTPApp Web.HTTPApp

Description

Attention: HTMLDecode is deprecated. Please use System.NetEncoding.THTMLEncoding.

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   
& &
&lt; <
&gt; >
&quot; "

See Also