HTML encoding method?

  • Thread starter Thread starter matt
  • Start date Start date
M

matt

hello,

i need to do some HTML encoding on some strings. not UrlEncoding, mind
you, but HTML encoding. ie:

"&" to "&"
"<" to "&lt;"

....etc. does anyone know of a good way to do this, other than manual
string replacements? what of decoding back into plain text?


thanks,
matt
 
Back
Top