02-15-2012 12:36 AM
var s = escape(args["a"]);
function escape(s) {
return s.replace(/[\\]/g, "\\\\").replace(/[\"]/g, "\\\"");
}
The choice of Java constructor replace matching JavaScript argument types (function,string) is ambiguous; candidate constructors are: class java.lang.String replace(char,char); class java.lang.String replace(java.lang.CharSequence,java.lang.CharSequence)
function escape(s) {
return (s + "").replace(/[\\]/g, "\\\\").replace(/[\"]/g, "\\\"");
}
02-15-2012 08:27 AM
05-27-2015 02:56 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.