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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top