<?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: extract information from a column in jmp in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/extract-information-from-a-column-in-jmp/m-p/552061#M76765</link>
    <description>&lt;P&gt;Here is an example script that should get you going with solving your problem.&amp;nbsp; All of the functions used in the script are documented with examples in the Scripting Index, available under the Help pull down menu&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1664811578736.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45991i9AE6D1ACB5C677FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1664811578736.png" alt="txnelson_0-1664811578736.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

For Each Row(
	If( Contains( :merge, "Alc =" ),
		:Alc % = Num( Word( 2, Substr( :merge, Contains( :merge, "Alc =" ) ), "=%" ) ) / 100
	);
	If( Contains( :merge, "Rs =" ),
		:Rs % = Num( Word( 2, Substr( :merge, Contains( :merge, "Rs =" ) ), "=%" ) ) / 100
	);
	If( Contains( :merge, "VA =" ),
		:VA ppm = Num( Word( 2, Substr( :merge, Contains( :merge, "VA =" ) ), "=p" ) )
	);
	If( Contains( :merge, "Approved" ),
		:Approved By = Word( 3, Substr( :merge, Contains( :merge, "Approved" ) ), " :" )
	);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 03 Oct 2022 15:41:07 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2022-10-03T15:41:07Z</dc:date>
    <item>
      <title>extract information from a column in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/extract-information-from-a-column-in-jmp/m-p/552030#M76763</link>
      <description>&lt;P&gt;Hello JMP User,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to write a script to extract some particular information such Alc%, VA, RS% from :merge and put them in a separate columns. Alc, VA and gravity values are randomly distributed, therefore Recode column would worked iin this case&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chandankishor66_0-1664808840772.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45990i48C0E2628DDB48E6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="chandankishor66_0-1664808840772.png" alt="chandankishor66_0-1664808840772.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions will be highly appreciated,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 15:59:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/extract-information-from-a-column-in-jmp/m-p/552030#M76763</guid>
      <dc:creator>chandankishor66</dc:creator>
      <dc:date>2023-06-09T15:59:34Z</dc:date>
    </item>
    <item>
      <title>Re: extract information from a column in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/extract-information-from-a-column-in-jmp/m-p/552061#M76765</link>
      <description>&lt;P&gt;Here is an example script that should get you going with solving your problem.&amp;nbsp; All of the functions used in the script are documented with examples in the Scripting Index, available under the Help pull down menu&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1664811578736.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45991i9AE6D1ACB5C677FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1664811578736.png" alt="txnelson_0-1664811578736.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Current Data Table();

For Each Row(
	If( Contains( :merge, "Alc =" ),
		:Alc % = Num( Word( 2, Substr( :merge, Contains( :merge, "Alc =" ) ), "=%" ) ) / 100
	);
	If( Contains( :merge, "Rs =" ),
		:Rs % = Num( Word( 2, Substr( :merge, Contains( :merge, "Rs =" ) ), "=%" ) ) / 100
	);
	If( Contains( :merge, "VA =" ),
		:VA ppm = Num( Word( 2, Substr( :merge, Contains( :merge, "VA =" ) ), "=p" ) )
	);
	If( Contains( :merge, "Approved" ),
		:Approved By = Word( 3, Substr( :merge, Contains( :merge, "Approved" ) ), " :" )
	);
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Oct 2022 15:41:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/extract-information-from-a-column-in-jmp/m-p/552061#M76765</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-10-03T15:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: extract information from a column in jmp</title>
      <link>https://community.jmp.com/t5/Discussions/extract-information-from-a-column-in-jmp/m-p/552074#M76766</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks&amp;nbsp; txnelson,&lt;/P&gt;&lt;P&gt;Your suggestion is working for me.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Oct 2022 16:30:26 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/extract-information-from-a-column-in-jmp/m-p/552074#M76766</guid>
      <dc:creator>chandankishor66</dc:creator>
      <dc:date>2022-10-03T16:30:26Z</dc:date>
    </item>
  </channel>
</rss>

