<?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: where is the documentation of   &amp;quot; variabel in: (  ....  )&amp;quot;? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-documentation-of-quot-variabel-in-quot/m-p/300998#M63645</link>
    <description>&lt;P&gt;Yes, that right. It says ":" can be added any modifyer to compare only the prefix.&lt;/P&gt;
&lt;P&gt;I would wish I had knew that earlier, which would have made life much easier:-)&lt;/P&gt;</description>
    <pubDate>Tue, 27 Sep 2016 11:30:47 GMT</pubDate>
    <dc:creator>JacobSimonsen</dc:creator>
    <dc:date>2016-09-27T11:30:47Z</dc:date>
    <item>
      <title>where is the documentation of   " variabel in: (  ....  )"?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-documentation-of-quot-variabel-in-quot/m-p/300987#M63638</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just found in the documentation how the operator "=:" works.&amp;nbsp;(much like the&amp;nbsp;"like"-operator). I&amp;nbsp;find this this veryy useful. I thereafter guessed that there might also exist a "in:" operator, which I found there indeed do exist.&amp;nbsp;This allows&amp;nbsp;users to&amp;nbsp;search for the starting letters in several strings at same time. However, I can not find the description of the operator in the documentation - can anyone send a link, or is it only for experimental use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here an example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;
data exclusion;
  format dx $8.;
  input dx $;
  if dx in: ('3912',  '429');
  cards;
3912 
3913
391218
x4290 
429
42901
;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;gives this dataset:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3912&lt;BR /&gt;391218&lt;BR /&gt;429&lt;BR /&gt;42901&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 10:55:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/where-is-the-documentation-of-quot-variabel-in-quot/m-p/300987#M63638</guid>
      <dc:creator>JacobSimonsen</dc:creator>
      <dc:date>2016-09-27T10:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: where is the documentation of   " variabel in: (  ....  )"?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-documentation-of-quot-variabel-in-quot/m-p/300991#M63641</link>
      <description>&lt;P&gt;Operator is the same as =: but with OR between each item.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;X =: 'val1' or X =: 'val2'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also, not just IN, you can add it to &amp;gt;, &amp;nbsp;&amp;lt;, etc, in fact:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;P&gt;You can add a colon ( : ) modifier to any of the operators to compare only a specified prefix of a character string. See Character Comparisons for details.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/68089/HTML/default/viewer.htm#p00iah2thp63bmn1lt20esag14lh.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/68089/HTML/default/viewer.htm#p00iah2thp63bmn1lt20esag14lh.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 11:10:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/where-is-the-documentation-of-quot-variabel-in-quot/m-p/300991#M63641</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-09-27T11:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: where is the documentation of   " variabel in: (  ....  )"?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-documentation-of-quot-variabel-in-quot/m-p/300993#M63642</link>
      <description>&lt;P&gt;Go to this link&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000780367.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000780367.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Search for "Character Comparisons" on the web page. You would find documentation on =: operator&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 11:11:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/where-is-the-documentation-of-quot-variabel-in-quot/m-p/300993#M63642</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2016-09-27T11:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: where is the documentation of   " variabel in: (  ....  )"?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/where-is-the-documentation-of-quot-variabel-in-quot/m-p/300998#M63645</link>
      <description>&lt;P&gt;Yes, that right. It says ":" can be added any modifyer to compare only the prefix.&lt;/P&gt;
&lt;P&gt;I would wish I had knew that earlier, which would have made life much easier:-)&lt;/P&gt;</description>
      <pubDate>Tue, 27 Sep 2016 11:30:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/where-is-the-documentation-of-quot-variabel-in-quot/m-p/300998#M63645</guid>
      <dc:creator>JacobSimonsen</dc:creator>
      <dc:date>2016-09-27T11:30:47Z</dc:date>
    </item>
  </channel>
</rss>

