<?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: String Operations after Reading from Excel in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/String-Operations-after-Reading-from-Excel/m-p/668315#M85645</link>
    <description>&lt;P&gt;Substitute should work fine here&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

str = "['299','523']";

str2 = Substitute(str, "'", "\!"", "[", "{", "]", "}");

Write(str2);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can find escape sequences for quoted strings here &lt;A href="https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/jsl-syntax-rules.shtml" 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>Tue, 15 Aug 2023 19:38:46 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2023-08-15T19:38:46Z</dc:date>
    <item>
      <title>String Operations after Reading from Excel</title>
      <link>https://community.jmp.com/t5/Discussions/String-Operations-after-Reading-from-Excel/m-p/668281#M85640</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am reading a cell from Excel which is read by JMP as - "['299','523']". I need the string to be manipulated to be {"299","523"}. I am not able to do this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. There probably is an easy solution but I cannot figure it out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Neel&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 16:39:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/String-Operations-after-Reading-from-Excel/m-p/668281#M85640</guid>
      <dc:creator>CircularPuppy35</dc:creator>
      <dc:date>2023-08-15T16:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: String Operations after Reading from Excel</title>
      <link>https://community.jmp.com/t5/Discussions/String-Operations-after-Reading-from-Excel/m-p/668309#M85643</link>
      <description>Use the Substitute() function to ca hange  characters</description>
      <pubDate>Tue, 15 Aug 2023 18:39:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/String-Operations-after-Reading-from-Excel/m-p/668309#M85643</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-08-15T18:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: String Operations after Reading from Excel</title>
      <link>https://community.jmp.com/t5/Discussions/String-Operations-after-Reading-from-Excel/m-p/668312#M85644</link>
      <description>&lt;P&gt;Hi Jim,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried that already, but I cannot replace " (double quotes) in the string with an empty space. Any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This:&amp;nbsp;temp = Substitute(string,""\", " "); doesn't work and I get errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Aug 2023 19:14:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/String-Operations-after-Reading-from-Excel/m-p/668312#M85644</guid>
      <dc:creator>CircularPuppy35</dc:creator>
      <dc:date>2023-08-15T19:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: String Operations after Reading from Excel</title>
      <link>https://community.jmp.com/t5/Discussions/String-Operations-after-Reading-from-Excel/m-p/668315#M85645</link>
      <description>&lt;P&gt;Substitute should work fine here&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

str = "['299','523']";

str2 = Substitute(str, "'", "\!"", "[", "{", "]", "}");

Write(str2);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can find escape sequences for quoted strings here &lt;A href="https://www.jmp.com/support/help/en/17.0/index.shtml#page/jmp/jsl-syntax-rules.shtml" 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>Tue, 15 Aug 2023 19:38:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/String-Operations-after-Reading-from-Excel/m-p/668315#M85645</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-15T19:38:46Z</dc:date>
    </item>
  </channel>
</rss>

