Home Cooker Classes Others Rice CookerGX
Classes  >  encoder  >  HtmlDecode(string)
encoder class : HtmlDecode(string) method

Description

Converts a HTML-decode string.

Syntax

encoderInstance.HtmlDecode(string encodedString)

Arguments

ClassNameDescription
stringencodedStringA HTML-encode string.

Return value

ClassDescription
stringA HTML-decode string.

Sample code

//anyEncoder is an instance of the encoder type.

//encoded is a string that was encoded by HTML-encode.

string decoded = anyEncoder.HtmlDecode(encoded);

Notes

It's a wrapper of the System.Web.HttpUtility.HtmlDecode(String).

Links for reference

Copyright © Rice All rights reserved.