Is there a way, using java's standard library to replace characters like:
" with '"' and &# 39; (i put a space so the site doesn't change it) with ''' in a string?
For example, change from:
String message = ""This &# 39;is&# 39; a test"e";
to:
message = "\"This \'is\' a test\"";
I'm not talking about using regular expressions or searching and replacing. I want it to cover all HTML characters. I think some text panes and things like that are able to do it. Anyone know which one and how I can use it's functions? Anyone other ideas?