<?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 select where contains &amp;amp; !contains in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/select-where-contains-amp-contains/m-p/113950#M39927</link>
    <description>&lt;P&gt;I need to select rows that contain lot number that start with 8 but do not have Lot in them.&amp;nbsp; Example 81234 should be selected but 82134 - Lot should not be selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt1 &amp;lt;&amp;lt; Select where ((Contains(dt1, "Lot Number"),"8") &amp;amp; (!Contains(dt1, "Lot Number"),"Lot"));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does not work.&amp;nbsp; Does anyone know how I can exclude rows that have the word Lot in the cell Lot Number.&amp;nbsp; The cell is Lot Number an example is 81333 - Lot.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Feb 2019 03:41:23 GMT</pubDate>
    <dc:creator>wjalford</dc:creator>
    <dc:date>2019-02-18T03:41:23Z</dc:date>
    <item>
      <title>select where contains &amp; !contains</title>
      <link>https://community.jmp.com/t5/Discussions/select-where-contains-amp-contains/m-p/113950#M39927</link>
      <description>&lt;P&gt;I need to select rows that contain lot number that start with 8 but do not have Lot in them.&amp;nbsp; Example 81234 should be selected but 82134 - Lot should not be selected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt1 &amp;lt;&amp;lt; Select where ((Contains(dt1, "Lot Number"),"8") &amp;amp; (!Contains(dt1, "Lot Number"),"Lot"));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This does not work.&amp;nbsp; Does anyone know how I can exclude rows that have the word Lot in the cell Lot Number.&amp;nbsp; The cell is Lot Number an example is 81333 - Lot.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Feb 2019 03:41:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/select-where-contains-amp-contains/m-p/113950#M39927</guid>
      <dc:creator>wjalford</dc:creator>
      <dc:date>2019-02-18T03:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: select where contains &amp; !contains</title>
      <link>https://community.jmp.com/t5/Discussions/select-where-contains-amp-contains/m-p/113951#M39928</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt1 &amp;lt;&amp;lt; Select where (Contains(:Lot Number,"8") == 1  &amp;amp; Contains(:Lot Number, "Lot" ) == 0 )&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 18 Feb 2019 04:06:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/select-where-contains-amp-contains/m-p/113951#M39928</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2019-02-18T04:06:33Z</dc:date>
    </item>
  </channel>
</rss>

