Strips tags from the provided HTML string.

Namespace: MonoSoftware.Web
Assembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)

Syntax

C#
public static string StripTags(
	string value,
	bool retainBreaks
)
Visual Basic
Public Shared Function StripTags ( 
	value As String,
	retainBreaks As Boolean
) As String
Visual C++
public:
static String^ StripTags(
	String^ value, 
	bool retainBreaks
)
F#
static member StripTags : 
        value : string * 
        retainBreaks : bool -> string 

Parameters

value
Type: System..::..String
String value to strip tags from
retainBreaks
Type: System..::..Boolean
Retains break tags

Return Value

Type: String
Parsed HTML string without tags

See Also