I’m searching for a solution to convert special characters (, ," ,&,’) to html entities. This is to map a string with a value in the dropdown.
In the parameter aaname, value is shown as “10&apos” which is HTML entity. I need to compare a string with this aaname value. For that, I need to identify special characters and convert to HTML. How can I do it?
HttpUtility.HtmlEncode(“Hello ““World”” & RPA”)
Thanks for the reply. I got System.Web but I’m not getting anything while typing HttpUtility.HtmlEncode(“Hello ““World”” & RPA”)
Cn you explain the solution more ?
had done it within the immediate panel during a debug run. just try it also at your end
Maybe test with other type of text or try to use full system.Web.HttpUtility.HtmlEncode
You can also try to use it in a Log message instead of the Inmediate Debug panel.