In VB 2005 .Net is there a function that works like the php function "htmlentities"?
views:
44answers:
2
A:
System.Web.HttpUtility.HtmlEncode(string)
is fairly similar. However, it does not handle single quotes.
http://msdn.microsoft.com/en-us/library/system.web.httputility.htmlencode.aspx
uhleeka
2009-08-08 03:24:50
A:
HttpUtility.HtmlEncode is the close thing that what you are looking for.
You will need other functions to do other stuff that htmlEntities does.
shahkalpesh
2009-08-08 03:29:19