Is there a method anywhere in the .NET framework or System.Web that will tell me whether a string contains an HTML or is one?
Should I just Server.HtmlEncode(myString) and see if its length is longer than myString's length before encoding?
Is there a method anywhere in the .NET framework or System.Web that will tell me whether a string contains an HTML or is one? Should I just Server.HtmlEncode(myString) and see if its length is longer than myString's length before encoding? | |||
feedback
|
| |||
feedback
|