I have characters incoming from an xml template for example:
& >
Does a generic function exist in the framework to replace these with their normal equivalents?
You want to use HttpUtility.HtmlDecode
.:
Converts a string that has been HTML-encoded for HTTP transmission into a decoded string.
Maybe this helps: WebUtility.HtmlDecode("");
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With