<?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 I get Comma separated user input to subset rows with specific value? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-do-I-get-Comma-separated-user-input-to-subset-rows-with/m-p/365653#M61511</link>
    <description>&lt;P&gt;Thanks Jim! That does it.&lt;/P&gt;</description>
    <pubDate>Sat, 06 Mar 2021 01:14:49 GMT</pubDate>
    <dc:creator>psundar6</dc:creator>
    <dc:date>2021-03-06T01:14:49Z</dc:date>
    <item>
      <title>How do I get Comma separated user input to subset rows with specific value?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-get-Comma-separated-user-input-to-subset-rows-with/m-p/365610#M61508</link>
      <description>&lt;P&gt;Hi, I have a data table that contains information in the below format. I'd like to create a button on jmp that when clicked should prompt to enter a list of comma separated values from the user (possibly in a text box?) to subset just the rows with that value in a specific column.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;&lt;BR /&gt;For example in the text box if the user chooses BB,EE, then in the attached table (sample_table.jmp) only those rows will be subsetted out to form a new table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I accomplish this using JSL? Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:29:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-get-Comma-separated-user-input-to-subset-rows-with/m-p/365610#M61508</guid>
      <dc:creator>psundar6</dc:creator>
      <dc:date>2023-06-09T00:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Comma separated user input to subset rows with specific value?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-get-Comma-separated-user-input-to-subset-rows-with/m-p/365633#M61509</link>
      <description>&lt;P&gt;Here is one of the many ways this can be done&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;names default to here( 1 );
dt = Current Data Table();
dt &amp;lt;&amp;lt; clear select;

NW = New Window( "Select",
	V List Box(
		Text Box( "Input a comma separated list th the Names you want subsetted" ),
		teb = Text Edit Box( "", &amp;lt;&amp;lt;set width( 150 ) ),
		Button Box( "OK",
			i = 1;
			val = teb &amp;lt;&amp;lt; get text;
			While( Word( i, val, "," ) != "",
				theWord = Word( i, val, "," );
				dt &amp;lt;&amp;lt; select where( :name == theWord, current selection( "extend" ) );
				i++;
			);
			dtSub = dt &amp;lt;&amp;lt; subset( selected rows( 1 ), selected columns( 0 ) );
		)
	)
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 05 Mar 2021 22:30:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-get-Comma-separated-user-input-to-subset-rows-with/m-p/365633#M61509</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-03-05T22:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get Comma separated user input to subset rows with specific value?</title>
      <link>https://community.jmp.com/t5/Discussions/How-do-I-get-Comma-separated-user-input-to-subset-rows-with/m-p/365653#M61511</link>
      <description>&lt;P&gt;Thanks Jim! That does it.&lt;/P&gt;</description>
      <pubDate>Sat, 06 Mar 2021 01:14:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-do-I-get-Comma-separated-user-input-to-subset-rows-with/m-p/365653#M61511</guid>
      <dc:creator>psundar6</dc:creator>
      <dc:date>2021-03-06T01:14:49Z</dc:date>
    </item>
  </channel>
</rss>

