AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

StringExtensions..::..HTMLDecode Method

Writes the string through an HtmlTextWriter, which processes HTML entities.

Namespace:  AdvantageCMS.Core.Common
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public static string HTMLDecode(
	this string s
)

Parameters

s
Type: String
The string to decode.

Return Value

The processed string.

Examples


C#
string decoded = "5 > 3".HTMLDecode(); // returns "5 > 3"