<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use JSL to replace characters with special symbols in &amp;quot;&amp;quot;? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688192#M87387</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;txt=Get Clipboard();
tx=Substitute(txt,"\!"","\!\!\!"");&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Oct 2023 23:37:40 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2023-10-17T23:37:40Z</dc:date>
    <item>
      <title>How to use JSL to replace characters with special symbols in ""?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/687904#M87352</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;[{"ReqId":"200904","PoolId":"2001"}]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;How to&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;[{\!"ReqId\!":\!"200904\!",\!"PoolId\!":\!"2001\!"}]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 10:41:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/687904#M87352</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-10-17T10:41:55Z</dc:date>
    </item>
    <item>
      <title>回复： How to use JSL to replace characters with special symbols in ""?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/687907#M87353</link>
      <description>&lt;PRE&gt;txt=Get Clipboard();&lt;BR /&gt;tx=Substitute(txt,"\!"","/\!\!"");//??&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-10-17_18-47-56.png" style="width: 166px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57710i680F548E6F2B9CE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-10-17_18-47-56.png" alt="2023-10-17_18-47-56.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 10:48:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/687907#M87353</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-10-17T10:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to replace characters with special symbols in ""?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688079#M87370</link>
      <description>&lt;P&gt;I'm not sure what you want to replace and with what (which is start and which is end?). When you are printing strings which contain quotes, usually using Write() is a good idea so you don't see the JMP's escaped quotes&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

str = "\[test: "text"]\";

Show(str); // str = "test: \!"text\!"";
Write("\!N");
Write(str); // test: "text"&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Oct 2023 16:38:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688079#M87370</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-17T16:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to replace characters with special symbols in ""?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688191#M87386</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;I see&lt;/P&gt;&lt;P&gt;copy this&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;[{\!"ReqId\!":\!"200904\!",\!"PoolId\!":\!"2001\!"}]&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;can see&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-10-18_7-16-47.png" style="width: 356px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/57742i3D32093C298367DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-10-18_7-16-47.png" alt="2023-10-18_7-16-47.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 23:37:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688191#M87386</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-10-17T23:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to replace characters with special symbols in ""?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688192#M87387</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;txt=Get Clipboard();
tx=Substitute(txt,"\!"","\!\!\!"");&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Oct 2023 23:37:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688192#M87387</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-10-17T23:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to replace characters with special symbols in ""?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688194#M87389</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Where can I see this syntax?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;Thanks!&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Tue, 17 Oct 2023 23:43:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688194#M87389</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-10-17T23:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to use JSL to replace characters with special symbols in ""?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688238#M87396</link>
      <description>&lt;P&gt;Try something like&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

// [{\!"ReqId\!":\!"200904\!",\!"PoolId\!":\!"2001\!"}]

txt = Get Clipboard();
// Write(txt);

tx = Substitute(txt,"\!"","\!\!\!"");
// write(tx);

txt2 = "\!"ReqId\!"";
// Write(txt2);

tx2 = Substitute(txt, "\!\!", "");
// Write(tx2);

tx3 = Substitute(Get Clipboard(), "\!\!", "");
// Write(tx3);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Reading about JMP's escape sequences can also be helpful&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/17.2/#page/jmp/jsl-syntax-rules.shtml#ww258122" target="_blank" rel="noopener"&gt;Scripting Guide &amp;gt; JSL Building Blocks &amp;gt; JSL Syntax Rules&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Oct 2023 04:44:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-use-JSL-to-replace-characters-with-special-symbols-in/m-p/688238#M87396</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-10-18T04:44:23Z</dc:date>
    </item>
  </channel>
</rss>

