<?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 do a split a column at the 5th character? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-a-split-a-column-at-the-5th-character/m-p/880682#M104438</link>
    <description>&lt;P&gt;You can use Recode in many different ways to do this (like Victor did demonstrate). If you need first 5 characters and then the last character, you can also create two formula columns&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Left(:value, 5)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Righ(:value, 1)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1750420737354.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77107iE59C14F3A644E859/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1750420737354.png" alt="jthi_0-1750420737354.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or for the number part use formula&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Word(1, :Column 1, "&amp;lt;&amp;gt;")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and same right formula for the sign&lt;/P&gt;</description>
    <pubDate>Fri, 20 Jun 2025 12:05:45 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-06-20T12:05:45Z</dc:date>
    <item>
      <title>How do a split a column at the 5th character?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-a-split-a-column-at-the-5th-character/m-p/880632#M104433</link>
      <description>&lt;P&gt;I have a column that I want to split.&amp;nbsp; e.g 18.45&amp;gt;&amp;nbsp; or 16.45&amp;lt; I want to make 1 column with the no. &amp;amp; 1 column with the &amp;lt; &amp;amp; &amp;gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 07:49:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-a-split-a-column-at-the-5th-character/m-p/880632#M104433</guid>
      <dc:creator>lisaash</dc:creator>
      <dc:date>2025-06-20T07:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: How do a split a column at the 5th character?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-a-split-a-column-at-the-5th-character/m-p/880644#M104434</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/37391"&gt;@lisaash&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could use the&amp;nbsp;&lt;A href="https://www.jmp.com/support/help/en/18.1/index.shtml#page/jmp/recode-data-in-a-column.shtml" target="_blank"&gt;Recode Data in a Column&lt;/A&gt; option to extract segment, or use column formula :&lt;/P&gt;
&lt;P&gt;- Settings to extract the value :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1750406301839.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77098iD86FCB3596256EDB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1750406301839.png" alt="Victor_G_0-1750406301839.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or formula :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Word( [1 5], :Value, "", Unmatched( :Value ) )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;- Settings to extract the sign at the end :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_1-1750406332638.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77099iB8873FA17FF560A7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_1-1750406332638.png" alt="Victor_G_1-1750406332638.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or formula :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Word( -1, :Value, "", Unmatched( :Value ) )&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your values may have a different format/length, I think a Regex may be a more flexible option.&lt;/P&gt;
&lt;P&gt;Please find attached the datatable used for the demonstration, containing the formula described above in the "Value extracted" and "Sign extracted" columns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this answer will help you,&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 08:15:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-a-split-a-column-at-the-5th-character/m-p/880644#M104434</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2025-06-20T08:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do a split a column at the 5th character?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-a-split-a-column-at-the-5th-character/m-p/880682#M104438</link>
      <description>&lt;P&gt;You can use Recode in many different ways to do this (like Victor did demonstrate). If you need first 5 characters and then the last character, you can also create two formula columns&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Left(:value, 5)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Righ(:value, 1)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1750420737354.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/77107iE59C14F3A644E859/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1750420737354.png" alt="jthi_0-1750420737354.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Or for the number part use formula&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Word(1, :Column 1, "&amp;lt;&amp;gt;")&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;and same right formula for the sign&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 12:05:45 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-a-split-a-column-at-the-5th-character/m-p/880682#M104438</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-06-20T12:05:45Z</dc:date>
    </item>
  </channel>
</rss>

