<?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 can replace a specified literal with a newline or TAB with a regular substitution method? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-can-replace-a-specified-literal-with-a-newline-or-TAB-with-a/m-p/353627#M60319</link>
    <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4550"&gt;@pmroz&lt;/a&gt;&amp;nbsp;thank you...do you have any idea on how to do this when sending an email via the mail() function?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2021 15:54:36 GMT</pubDate>
    <dc:creator>Stefan</dc:creator>
    <dc:date>2021-01-28T15:54:36Z</dc:date>
    <item>
      <title>How can replace a specified literal with a newline or TAB with a regular substitution method?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-replace-a-specified-literal-with-a-newline-or-TAB-with-a/m-p/259761#M50973</link>
      <description>&lt;P&gt;a="AB&amp;lt;/&amp;gt;CDEFG&amp;lt;-&amp;gt;HIJK&amp;lt;/&amp;gt;LMNOP&amp;lt;-&amp;gt;QRSTU&amp;lt;/&amp;gt;VWXYZ"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regular methods are not used.&lt;BR /&gt;Replace &amp;lt;/&amp;gt; with a TAB.&lt;BR /&gt;Replace &amp;lt;-&amp;gt; with a newline character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This writes the contents of a to the table.Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-04-22_18-13.png" style="width: 160px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/23306iD40CD0BE879DA884/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-04-22_18-13.png" alt="2020-04-22_18-13.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Apr 2020 10:16:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-replace-a-specified-literal-with-a-newline-or-TAB-with-a/m-p/259761#M50973</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2020-04-22T10:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: How can replace a specified literal with a newline or TAB with a regular substitution method?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-replace-a-specified-literal-with-a-newline-or-TAB-with-a/m-p/259771#M50974</link>
      <description>&lt;P&gt;In JMP you can specify a newline and tab like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;newline = "\!n";
tab = "\!t";
a = evalinsert("Hello World^tab^Again^newline^Fubar^tab^Again");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Use the substitute command to replace your character strings with newline or tab.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;newline = "\!n";
tab = "\!t";

a = "AB&amp;lt;/&amp;gt;CDEFG&amp;lt;-&amp;gt;HIJK&amp;lt;/&amp;gt;LMNOP&amp;lt;-&amp;gt;QRSTU&amp;lt;/&amp;gt;VWXYZ";
b = substitute(a, "&amp;lt;/&amp;gt;", tab);
c = substitute(b, "&amp;lt;-&amp;gt;", newline);

write(c);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Output:&lt;/P&gt;
&lt;PRE&gt;AB	CDEFG
HIJK	LMNOP
QRSTU	VWXYZ&lt;/PRE&gt;</description>
      <pubDate>Wed, 22 Apr 2020 11:31:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-replace-a-specified-literal-with-a-newline-or-TAB-with-a/m-p/259771#M50974</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2020-04-22T11:31:44Z</dc:date>
    </item>
    <item>
      <title>Re: How can replace a specified literal with a newline or TAB with a regular substitution method?</title>
      <link>https://community.jmp.com/t5/Discussions/How-can-replace-a-specified-literal-with-a-newline-or-TAB-with-a/m-p/353627#M60319</link>
      <description>&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/4550"&gt;@pmroz&lt;/a&gt;&amp;nbsp;thank you...do you have any idea on how to do this when sending an email via the mail() function?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2021 15:54:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-can-replace-a-specified-literal-with-a-newline-or-TAB-with-a/m-p/353627#M60319</guid>
      <dc:creator>Stefan</dc:creator>
      <dc:date>2021-01-28T15:54:36Z</dc:date>
    </item>
  </channel>
</rss>

