<?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: function ...contain() in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82358#M17770</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't find a contains function, but the &lt;SPAN style="font-family: 'courier new', courier;"&gt;contains&lt;/SPAN&gt; operator does exist, and can be used as follows, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data have;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; input text $;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; datalines;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;abc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ab&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;abcd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;abcde&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; set have;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; where text contains "cd";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 22 May 2013 11:55:50 GMT</pubDate>
    <dc:creator>Amir</dc:creator>
    <dc:date>2013-05-22T11:55:50Z</dc:date>
    <item>
      <title>function ...contain()</title>
      <link>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82357#M17769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;hi,&lt;/P&gt;&lt;P&gt;My frnd works SAS&amp;nbsp; and he said the function contain()..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data xxx.&lt;/P&gt;&lt;P&gt;input xxx;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;134&lt;/P&gt;&lt;P&gt;222&lt;/P&gt;&lt;P&gt;23&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set xxx;&lt;/P&gt;&lt;P&gt;where xxx&amp;nbsp; = cotain()........................................please let me know ,,, if &lt;SPAN style="color: #ff3333;"&gt;&lt;STRONG&gt; this functions exists or not &lt;/STRONG&gt; i&lt;/SPAN&gt;f it is ..please help me with PROPER syntax..&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Allu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 10:56:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82357#M17769</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-05-22T10:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: function ...contain()</title>
      <link>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82358#M17770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't find a contains function, but the &lt;SPAN style="font-family: 'courier new', courier;"&gt;contains&lt;/SPAN&gt; operator does exist, and can be used as follows, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data have;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; input text $;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; datalines;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;abc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;ab&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;abcd&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;abcde&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;data want;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; set have;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;&amp;nbsp; where text contains "cd";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 11:55:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82358#M17770</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2013-05-22T11:55:50Z</dc:date>
    </item>
    <item>
      <title>Re: function ...contain()</title>
      <link>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82359#M17771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Amir....is there any chance that this is in new versions???? like 9.3 or 9.4??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ................contain().........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;data xxx;&lt;/P&gt;&lt;P&gt;input aaa;&lt;/P&gt;&lt;P&gt;12&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;131&lt;/P&gt;&lt;P&gt;22;&lt;/P&gt;&lt;P&gt;runl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where num&amp;nbsp; = contain(1)......./*Returns the&amp;nbsp;&amp;nbsp; 12 , 131 ....*/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where num = cotain(12).........../*Returns the 12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry for syntax errors...............but please check for functions ...??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ......................will Any body in community help me....................&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 12:07:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82359#M17771</guid>
      <dc:creator>allurai0412</dc:creator>
      <dc:date>2013-05-22T12:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: function ...contain()</title>
      <link>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82360#M17772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You simply use Google with a search string like "site:support.sas.com contains" and one of the first links will give you something like &lt;A href="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000999255.htm" title="http://support.sas.com/documentation/cdl/en/lrcon/62955/HTML/default/viewer.htm#a000999255.htm"&gt;SAS(R) 9.2 Language Reference: Concepts, Second Edition&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After that it's just RTM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 12:12:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82360#M17772</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2013-05-22T12:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: function ...contain()</title>
      <link>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82361#M17773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would echo what Patrick is saying and further recommend you familiarise yourself with navigating your way through the manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For 9.3 you can look at:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/allprodslang/64083/HTML/default/viewer.htm#titlepage.htm" title="http://support.sas.com/documentation/cdl/en/allprodslang/64083/HTML/default/viewer.htm#titlepage.htm"&gt;SAS(R) 9.3 Language Reference by Name, Product, and Category&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and use the left hand pane to navigate to Functions -&amp;gt; General Functions -&amp;gt; Alphabetic Listing to see all of the functions available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as 9.4 is concerned, perhaps try contacting SAS Technical Support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 May 2013 12:30:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/function-contain/m-p/82361#M17773</guid>
      <dc:creator>Amir</dc:creator>
      <dc:date>2013-05-22T12:30:31Z</dc:date>
    </item>
  </channel>
</rss>

