List of utility methods to do String Unescape
String | unescapeText(String s) change html entities to escape characters (from http://www.rgagnon.com/howto.html) int i, j, k; if (s != null && (i = s.indexOf('&')) > -1) { j = s.indexOf(';', i); if (j > i) { String temp = s.substring(i, j + 1); k = 0; int arraySize = HTML_ESCAPE_CHARS.length; while (k < arraySize) { ... |
String | unescapeText(String s) Unescapes character sequences such as '<', '&' etc. if (s == null) { return null; return s.replace(lt, "<").replace(gt, ">").replace(quote, "\"").replace(amp, "&"); |