Text Utilities

The Plug-in includes the following Functions:

  • htmlEncode(): Escapes the characters in a String using HTML entities. Useful to display accented or non UTF-8 characters in a paging grid when using todatasubset()
  • htmlDecode(): Un-escapes a string containing entity escapes to a string containing the actual Unicode characters corresponding to the escapes
  • urlEncode(): URL encodes a string
  • urlDecode(): URL decodes a string
  • escapeJava(): Escapes the characters in a String using Java String rules
  • unescapeJava(): Un-escapes any Java literals found in the String
Anonymous