<?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 separate excel &amp;quot;copy paste&amp;quot; in JMP string? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-separate-excel-quot-copy-paste-quot-in-JMP-string/m-p/894949#M105576</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

nw = New Window("",
	teb = Text Edit Box("", &amp;lt;&amp;lt; Set Width(300), &amp;lt;&amp;lt; Set N Lines(3)),
	Button Box("Get",
		cur_txt = teb &amp;lt;&amp;lt; get text;
		l = Words(cur_txt, "\!N");
		show(cur_txt, l);
	);
);

Write();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Using something simple like Words with \!N will work most of the time&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1755531085939.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80543iD2886000902D2BAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1755531085939.png" alt="jthi_0-1755531085939.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1755531199128.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80545i5A077C0A8CF851EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1755531199128.png" alt="jthi_2-1755531199128.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1755531108835.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80544i178D4A8E50ECBD4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1755531108835.png" alt="jthi_1-1755531108835.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But if it is possible that there are cells with multi-line values, it will require extra handling. The better you know the pattern of your cells, the easier it will be to handle the values.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Aug 2025 15:37:07 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-08-18T15:37:07Z</dc:date>
    <item>
      <title>How to separate excel "copy paste" in JMP string?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-separate-excel-quot-copy-paste-quot-in-JMP-string/m-p/894880#M105568</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;
&lt;P&gt;so by copy pasting some cells from excel into a JMP data table column, the cells are perfectly split into separate rows. But if I paste the same cells into a text edit box or just in a JSL script, the cells are only separated by a "pseudo" line break. They all are in different rows but don't have a whitespace or line break or other delimiter in between. How can I separate them like JMP does it in the data table? The&amp;nbsp; values of the cells are completely random in all regards so no regex possible.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 10:15:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-separate-excel-quot-copy-paste-quot-in-JMP-string/m-p/894880#M105568</guid>
      <dc:creator>Erik_The_First</dc:creator>
      <dc:date>2025-08-18T10:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate excel "copy paste" in JMP string?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-separate-excel-quot-copy-paste-quot-in-JMP-string/m-p/894906#M105572</link>
      <description>&lt;P&gt;If they are on separate rows, they most likely have some sort of character between them.You can find JMP's escape sequences for strings&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.1/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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What does your starting situation look like?&amp;nbsp;What type of separation do you wish to achieve in the text edit box?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 12:13:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-separate-excel-quot-copy-paste-quot-in-JMP-string/m-p/894906#M105572</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-18T12:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate excel "copy paste" in JMP string?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-separate-excel-quot-copy-paste-quot-in-JMP-string/m-p/894949#M105576</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

nw = New Window("",
	teb = Text Edit Box("", &amp;lt;&amp;lt; Set Width(300), &amp;lt;&amp;lt; Set N Lines(3)),
	Button Box("Get",
		cur_txt = teb &amp;lt;&amp;lt; get text;
		l = Words(cur_txt, "\!N");
		show(cur_txt, l);
	);
);

Write();&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Using something simple like Words with \!N will work most of the time&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1755531085939.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80543iD2886000902D2BAA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1755531085939.png" alt="jthi_0-1755531085939.png" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_2-1755531199128.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80545i5A077C0A8CF851EE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_2-1755531199128.png" alt="jthi_2-1755531199128.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1755531108835.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/80544i178D4A8E50ECBD4E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1755531108835.png" alt="jthi_1-1755531108835.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;But if it is possible that there are cells with multi-line values, it will require extra handling. The better you know the pattern of your cells, the easier it will be to handle the values.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Aug 2025 15:37:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-separate-excel-quot-copy-paste-quot-in-JMP-string/m-p/894949#M105576</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-08-18T15:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to separate excel "copy paste" in JMP string?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-separate-excel-quot-copy-paste-quot-in-JMP-string/m-p/896635#M105680</link>
      <description>&lt;P&gt;So my solution was to use words() but the seperator was just the empty string with one enter press (a line break without \!n)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Aug 2025 07:13:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-separate-excel-quot-copy-paste-quot-in-JMP-string/m-p/896635#M105680</guid>
      <dc:creator>Erik_The_First</dc:creator>
      <dc:date>2025-08-25T07:13:10Z</dc:date>
    </item>
  </channel>
</rss>

