<?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 回复： How to make the content of the paste board into a table? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667210#M85529</link>
    <description>&lt;P&gt;You can paste to a script window, clean up, and import. (You don't have to replace the tabs with commas and might not want to if the data contains commas.)&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6332841287112w960h540r6" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6332841287112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6332841287112w960h540r6');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6332841287112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Aug 2023 10:07:09 GMT</pubDate>
    <dc:creator>Craige_Hales</dc:creator>
    <dc:date>2023-08-10T10:07:09Z</dc:date>
    <item>
      <title>How to make the content of the paste board into a table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667138#M85517</link>
      <description>&lt;P&gt;The pasted board contains previous content, blank content, and tabs at the beginning of each line, and forms a table&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;&lt;BR /&gt;&lt;BR /&gt; 


	1	2023-09-09 00:00	A	C
	2	2023-09-09 00:00	B	D&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 10 Aug 2023 14:18:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667138#M85517</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-08-10T14:18:13Z</dc:date>
    </item>
    <item>
      <title>回复： How to make the content of the paste board into a table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667141#M85518</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;There may be Spaces&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-10_09-11-49.png" style="width: 484px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55693iF75FEDB22556A59B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-08-10_09-11-49.png" alt="2023-08-10_09-11-49.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-10_09-12-42.png" style="width: 317px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55694i1762304CF64DB9A1/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-08-10_09-12-42.png" alt="2023-08-10_09-12-42.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 01:14:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667141#M85518</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-08-10T01:14:47Z</dc:date>
    </item>
    <item>
      <title>回复： How to make the content of the paste board into a table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667176#M85523</link>
      <description>&lt;P&gt;You might get quite far just by using Get Clipboard using open with blob&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

str = Get Clipboard();
Open(Char to Blob(str), "text");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;then perform cleanup in JMP table&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 05:07:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667176#M85523</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-10T05:07:26Z</dc:date>
    </item>
    <item>
      <title>回复： How to make the content of the paste board into a table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667188#M85526</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Can I make a table with multiple columns directly through regular substitution?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 07:15:59 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667188#M85526</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-08-10T07:15:59Z</dc:date>
    </item>
    <item>
      <title>回复： How to make the content of the paste board into a table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667210#M85529</link>
      <description>&lt;P&gt;You can paste to a script window, clean up, and import. (You don't have to replace the tabs with commas and might not want to if the data contains commas.)&lt;/P&gt;
&lt;P&gt;&lt;div class="lia-vid-container video-embed-center"&gt;&lt;div id="lia-vid-6332841287112w960h540r377" class="lia-video-brightcove-player-container"&gt;&lt;video-js data-video-id="6332841287112" data-account="6058004218001" data-player="default" data-embed="default" class="vjs-fluid" controls="" data-application-id="" style="width: 100%; height: 100%;"&gt;&lt;/video-js&gt;&lt;/div&gt;&lt;script src="https://players.brightcove.net/6058004218001/default_default/index.min.js"&gt;&lt;/script&gt;&lt;script&gt;(function() {  var wrapper = document.getElementById('lia-vid-6332841287112w960h540r377');  var videoEl = wrapper ? wrapper.querySelector('video-js') : null;  if (videoEl) {     if (window.videojs) {       window.videojs(videoEl).ready(function() {         this.on('loadedmetadata', function() {           this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) {             bar.setAttribute('role', 'presentation');             bar.setAttribute('aria-hidden', 'true');           });         });       });     }  }})();&lt;/script&gt;&lt;a class="video-embed-link" href="https://community.jmp.com/t5/video/gallerypage/video-id/6332841287112"&gt;(view in My Videos)&lt;/a&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 10:07:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667210#M85529</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-08-10T10:07:09Z</dc:date>
    </item>
    <item>
      <title>回复： How to make the content of the paste board into a table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667220#M85531</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Can this be done with JSL?&lt;/SPAN&gt;&lt;SPAN class=""&gt;I am still using JMP14 and cannot record.&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;t1=Regex(txt,"\!n\!n","\!n",globalreplace);
//？？&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank Craige!&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 11:00:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667220#M85531</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-08-10T11:00:15Z</dc:date>
    </item>
    <item>
      <title>回复： How to make the content of the paste board into a table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667245#M85535</link>
      <description>&lt;P&gt;Sure, either save it to a file with a .CSV extension, or convert to a blob and open from the blob (and tell open it is a "text" file.)&lt;/P&gt;
&lt;P&gt;Note the regex pattern uses \n for a newline and the regex replacement uses JMP's \!n.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="change multiple consecutive newlines to a single newline" style="width: 685px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55699iEBB8F6ED0E34A92B/image-size/large?v=v2&amp;amp;px=999" role="button" title="capture.png" alt="change multiple consecutive newlines to a single newline" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;change multiple consecutive newlines to a single newline&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 13:21:20 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667245#M85535</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-08-10T13:21:20Z</dc:date>
    </item>
    <item>
      <title>回复： How to make the content of the paste board into a table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667257#M85536</link>
      <description>&lt;UL&gt;&lt;LI&gt;&lt;P class=""&gt;Cannot be implemented using copied data&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2023-08-10_22-41-58.png" style="width: 457px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/55700i15AB23A82E265387/image-size/large?v=v2&amp;amp;px=999" role="button" title="2023-08-10_22-41-58.png" alt="2023-08-10_22-41-58.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 14:46:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667257#M85536</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2023-08-10T14:46:07Z</dc:date>
    </item>
    <item>
      <title>回复： How to make the content of the paste board into a table?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667288#M85540</link>
      <description>&lt;P&gt;on line 3, try changing &lt;EM&gt;&lt;STRONG&gt;txt&lt;/STRONG&gt;&lt;/EM&gt; to &lt;EM&gt;&lt;STRONG&gt;t1&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;The original text is likely to have CRLF pairs, but line 2's effect is lost by line 3 overwrite.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;you can also use the Hex(t1) function to see LF==x0A and CR==x0D&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2023 16:02:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-make-the-content-of-the-paste-board-into-a-table/m-p/667288#M85540</guid>
      <dc:creator>Craige_Hales</dc:creator>
      <dc:date>2023-08-10T16:02:56Z</dc:date>
    </item>
  </channel>
</rss>

