<?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: remove carriage return in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/remove-carriage-return/m-p/824698#M100443</link>
    <description>&lt;P&gt;Try using \!N then \!r , \!n and finally some weird combination of these. If none of these work, you might have to use regex / substitute. You can find JMP's escape sequences from here &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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1734712777402.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/71479i5BF03D161AD03C2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1734712777402.png" alt="jthi_0-1734712777402.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2024 16:40:01 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2024-12-20T16:40:01Z</dc:date>
    <item>
      <title>remove carriage return</title>
      <link>https://community.jmp.com/t5/Discussions/remove-carriage-return/m-p/824683#M100441</link>
      <description>&lt;P&gt;I am using JMPPro 18. I am trying to develop some scripts to clean up my data, and I have an issue with the carriage returns. I have read other other posts on this subject, and it is still not working for me.&lt;/P&gt;&lt;P&gt;when I use Recode to remove these, it works fine. However, when I save the recode workflow, and run the workflow, the data is not recoded.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried using \r and \!r as suggested in other posts (but I notice that these don't appear in the recode script), but no luck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas where this is going wrong and what I could try would be most useful! Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 16:00:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/remove-carriage-return/m-p/824683#M100441</guid>
      <dc:creator>ckronig</dc:creator>
      <dc:date>2024-12-20T16:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: remove carriage return</title>
      <link>https://community.jmp.com/t5/Discussions/remove-carriage-return/m-p/824698#M100443</link>
      <description>&lt;P&gt;Try using \!N then \!r , \!n and finally some weird combination of these. If none of these work, you might have to use regex / substitute. You can find JMP's escape sequences from here &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;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1734712777402.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/71479i5BF03D161AD03C2F/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1734712777402.png" alt="jthi_0-1734712777402.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2024 16:40:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/remove-carriage-return/m-p/824698#M100443</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-12-20T16:40:01Z</dc:date>
    </item>
    <item>
      <title>Re: remove carriage return</title>
      <link>https://community.jmp.com/t5/Discussions/remove-carriage-return/m-p/824699#M100444</link>
      <description>&lt;P&gt;You can also use something like this:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;crlf = hex to char("0D0A");
print("CRLF Hello" || crlf || "World");
 
cr = hex to char("0D");
print("CR Hello" || cr || "World");
 
lf = hex to char("0A");
print("LF Hello" || lf || "World");&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;These snippets produce similar output.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;"CRLF Hello
World"
"CR Hello
World"
"LF Hello
World"&lt;/PRE&gt;</description>
      <pubDate>Fri, 20 Dec 2024 17:17:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/remove-carriage-return/m-p/824699#M100444</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2024-12-20T17:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: remove carriage return</title>
      <link>https://community.jmp.com/t5/Discussions/remove-carriage-return/m-p/825981#M100673</link>
      <description>&lt;P&gt;Thanks for your response, I used \!n and my script now works! Much appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jan 2025 15:13:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/remove-carriage-return/m-p/825981#M100673</guid>
      <dc:creator>ckronig</dc:creator>
      <dc:date>2025-01-06T15:13:47Z</dc:date>
    </item>
  </channel>
</rss>

