<?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: Filter out Numbers starting with '04' in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filter-out-Numbers-starting-with-04/m-p/156102#M12178</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Patrick !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had tried that using just '04' but didn't think to include the %, DUH ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Nov 2013 20:39:37 GMT</pubDate>
    <dc:creator>pcfriendly</dc:creator>
    <dc:date>2013-11-26T20:39:37Z</dc:date>
    <item>
      <title>Filter out Numbers starting with '04'</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filter-out-Numbers-starting-with-04/m-p/156100#M12176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Forum,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table of data that contains a Column of telephone numbers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to filter out any records where the telephone number field has a number beginning with '04'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So far I've added an Advanced Expression something like the below in SAS EG 4.3.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBSTR(TELEPHONE_NO, 1, 2) &amp;lt;&amp;gt; '04'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't work &amp;amp; changes all telephone nunmbers to a single digit, 0, 1 2 etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd prefer to add afilter in a Query Builder but there isn't an option to write the above expression...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone advise how this can be done?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 04:28:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filter-out-Numbers-starting-with-04/m-p/156100#M12176</guid>
      <dc:creator>pcfriendly</dc:creator>
      <dc:date>2013-11-26T04:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out Numbers starting with '04'</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filter-out-Numbers-starting-with-04/m-p/156101#M12177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure about EG 4.3 but in newer versions in the Query Builder you could select as filter operator "Does not match pattern" and as value '04%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will translate into SQL:&amp;nbsp; TELEPHONE_NO NOT LIKE '04%'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 05:33:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filter-out-Numbers-starting-with-04/m-p/156101#M12177</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-11-26T05:33:11Z</dc:date>
    </item>
    <item>
      <title>Re: Filter out Numbers starting with '04'</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filter-out-Numbers-starting-with-04/m-p/156102#M12178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Patrick !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had tried that using just '04' but didn't think to include the %, DUH ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 20:39:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Filter-out-Numbers-starting-with-04/m-p/156102#M12178</guid>
      <dc:creator>pcfriendly</dc:creator>
      <dc:date>2013-11-26T20:39:37Z</dc:date>
    </item>
  </channel>
</rss>

