<?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: Using Select Where in a script in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/4849#M4849</link>
    <description>&lt;P&gt;Contains() would also work here, but unlike SELECT LIKE you cannot use wildcards.&lt;/P&gt;
&lt;P&gt;The code&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table( "Untitled" ) &amp;lt;&amp;lt; select where (contains(:column 1, "5_lbe"));&lt;/CODE&gt;&lt;/PRE&gt;
would not only select all rows that start with "5_lbe" but also rows with "5_lbe" at any position within the string. Starts With() is more specific.</description>
    <pubDate>Mon, 08 Jan 2018 15:34:19 GMT</pubDate>
    <dc:creator>ms</dc:creator>
    <dc:date>2018-01-08T15:34:19Z</dc:date>
    <item>
      <title>Using Select Where in a script</title>
      <link>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/4846#M4846</link>
      <description>&lt;P&gt;Hello, I already looked around but couldn't find how to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is what I am trying to do&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table( "Untitled" ) &amp;lt;&amp;lt; select where (contains(:column 1, "5_lbe/?"));&lt;/CODE&gt;&amp;nbsp;&lt;/PRE&gt;
&lt;P&gt;Basically I have a bunch of data like this: 5_lbe12333, 5_lbe88837 (just to give an example) etc So it would be great if i could do it like in SQL with a SELECT LIKE statement but i cannot seem to find something similar in JMP&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jan 2018 15:34:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/4846#M4846</guid>
      <dc:creator>kiza</dc:creator>
      <dc:date>2018-01-08T15:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using Select Where in a script</title>
      <link>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/4847#M4847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use Starts With() instead of Contains() for that particular example. For more general matching, you can use JMP regex or pattern match functions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 20:29:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/4847#M4847</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2012-05-08T20:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using Select Where in a script</title>
      <link>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/4848#M4848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it, thanks =)&lt;/img&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 20:53:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/4848#M4848</guid>
      <dc:creator>kiza</dc:creator>
      <dc:date>2012-05-08T20:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using Select Where in a script</title>
      <link>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/4849#M4849</link>
      <description>&lt;P&gt;Contains() would also work here, but unlike SELECT LIKE you cannot use wildcards.&lt;/P&gt;
&lt;P&gt;The code&lt;/P&gt;
&lt;P style="margin: 0.0px 0.0px 0.0px 0.0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Data Table( "Untitled" ) &amp;lt;&amp;lt; select where (contains(:column 1, "5_lbe"));&lt;/CODE&gt;&lt;/PRE&gt;
would not only select all rows that start with "5_lbe" but also rows with "5_lbe" at any position within the string. Starts With() is more specific.</description>
      <pubDate>Mon, 08 Jan 2018 15:34:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/4849#M4849</guid>
      <dc:creator>ms</dc:creator>
      <dc:date>2018-01-08T15:34:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using Select Where in a script</title>
      <link>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/49359#M28064</link>
      <description>&lt;P&gt;Hi Guys&lt;BR /&gt;&lt;BR /&gt;need your help to comment on my script below. it is not working properly where im trying to do the data filter for the value with the correct test name only. im using Select Where and Contain/Start with method but only the numeric data is filtered and the filter for test name is not working.&lt;BR /&gt;&lt;BR /&gt;Please help to comment. Your help is greatly appreciated!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;f = Current Data Table() &amp;lt;&amp;lt; Data Filter(
Location( {300, 196} ),
Mode( Show( 1 ), Include( 1 ) ),
Add Filter(
columns( :NUMERIC_RESULT, :TEST_NAME ),
Where( :NUMERIC_RESULT &amp;gt;= 5000 &amp;amp; :NUMERIC_RESULT &amp;lt;= 13000 ),
Select Where( Contains (:TEST_NAME, "ABC_0019" ),
Display( :NUMERIC_RESULT ),
Display( :TEST_NAME, Size( 204, 38 ), List Display )
),
)
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Jan 2018 15:32:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Using-Select-Where-in-a-script/m-p/49359#M28064</guid>
      <dc:creator>mhalwi</dc:creator>
      <dc:date>2018-01-08T15:32:57Z</dc:date>
    </item>
  </channel>
</rss>

