<?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: Extracting substring and converting to column in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Extracting-substring-and-converting-to-column/m-p/107986#M39288</link>
    <description>&lt;P&gt;The character functions are all very nicely organized in the Scripting Index.&amp;nbsp; When you need to manipulate a string, you can very easily go through the various functions and the examples shown, to determine which one to use.......You need to spend the time to do this!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For what you are trying to do....&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );
dt = Current Data Table();

For Each Row(
     :Substring = Substr(:Substring, 5);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 24 Jan 2019 21:21:15 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2019-01-24T21:21:15Z</dc:date>
    <item>
      <title>Extracting substring and converting to column</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-substring-and-converting-to-column/m-p/107985#M39287</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need some help with proceesing a long string.&lt;/P&gt;&lt;P&gt;I have a table with several columns;one column has a long string as follows-&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Entity&lt;/TD&gt;&lt;TD&gt;Substring&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;RWYT|ZZRZQ_pp29_Nxy13_7|54.58|ZZRZQ_pp29_Nxy13_3|51.72|ZZRZQ_pp29_Nxy13_5|54.31&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;I need to remove first four characters "RWYT" and expected output is as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Entity&lt;/TD&gt;&lt;TD&gt;Substring&lt;/TD&gt;&lt;TD&gt;ZZRZQ_pp29_Nxy13_7&lt;/TD&gt;&lt;TD&gt;ZZRZQ_pp29_Nxy13_3&lt;/TD&gt;&lt;TD&gt;ZZRZQ_pp29_Nxy13_5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;A&lt;/TD&gt;&lt;TD&gt;RWYT|ZZRZQ_pp29_Nxy13_7|54.58|ZZRZQ_pp29_Nxy13_3|51.72|ZZRZQ_pp29_Nxy13_5|54.31&lt;/TD&gt;&lt;TD&gt;54.58&lt;/TD&gt;&lt;TD&gt;51.72&lt;/TD&gt;&lt;TD&gt;54.31&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Thu, 24 Jan 2019 21:08:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-substring-and-converting-to-column/m-p/107985#M39287</guid>
      <dc:creator>ENTHU</dc:creator>
      <dc:date>2019-01-24T21:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting substring and converting to column</title>
      <link>https://community.jmp.com/t5/Discussions/Extracting-substring-and-converting-to-column/m-p/107986#M39288</link>
      <description>&lt;P&gt;The character functions are all very nicely organized in the Scripting Index.&amp;nbsp; When you need to manipulate a string, you can very easily go through the various functions and the examples shown, to determine which one to use.......You need to spend the time to do this!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For what you are trying to do....&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );
dt = Current Data Table();

For Each Row(
     :Substring = Substr(:Substring, 5);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Jan 2019 21:21:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Extracting-substring-and-converting-to-column/m-p/107986#M39288</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-01-24T21:21:15Z</dc:date>
    </item>
  </channel>
</rss>

