Removes all HTML formatting from the page (e.g. head, script sections are removed).
Namespace: MonoSoftware.WebAssembly: MonoSoftware.Web (in MonoSoftware.Web.dll) Version: 1.0.40.661 (1.0.40.661)
Syntax
C# |
---|
public static string Html2Txt(
string sourceHtml
) |
Visual Basic |
---|
Public Shared Function Html2Txt (
sourceHtml As String
) As String |
Visual C++ |
---|
public:
static String^ Html2Txt(
String^ sourceHtml
) |
F# |
---|
static member Html2Txt :
sourceHtml : string -> string
|
Return Value
Type:
StringClean text without any HTML tags
See Also