Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
// Strip off the leading and trailing <result> and <message> tags
&nbsp; &nbsp; &nbsp; &nbsp; message = message.replace(/&amp;/g,"&");
&nbsp; &nbsp; &nbsp; &nbsp; message = message.replace(/&#13;/g,"\x0D");
&nbsp; &nbsp; &nbsp; &nbsp; message = message.replace("<result><message>","");
&nbsp; &nbsp; &nbsp; &nbsp; message = message.replace("</message></result>","");
&nbsp; &nbsp; &nbsp; &nbsp; return message;
&nbsp; &nbsp;&nbsp;
// Strip off the leading and trailing <result> and <message> tags

&nbsp; &nbsp; &nbsp; &nbsp; message = message.replace(/&amp;/g,"&");

&nbsp; &nbsp; &nbsp; &nbsp;
message = message.replace(/&#13;/g,"\x0D");

&nbsp; &nbsp;
&nbsp; &nbsp; message = message.replace("<result><message>","");

&nbsp; &nbsp; &nbsp;
&nbsp; message = message.replace("</message></result>","");

&nbsp; &nbsp; &nbsp;
&nbsp; return message;

...