<?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: Substring search in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Substring-search/m-p/479343#M123705</link>
    <description>&lt;P&gt;Love SAS Communities!&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jul 2018 01:55:37 GMT</pubDate>
    <dc:creator>zimcom</dc:creator>
    <dc:date>2018-07-19T01:55:37Z</dc:date>
    <item>
      <title>Substring search</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Substring-search/m-p/479334#M123702</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to go through a column and do substring search and only inlude the entry containing "within 10 minutes", "within 15 minutes", "minutes" "within" and "infusion", is this doable in SAS?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;zimcom&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 01:24:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Substring-search/m-p/479334#M123702</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2018-07-19T01:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Substring search</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Substring-search/m-p/479335#M123703</link>
      <description>&lt;P&gt;Yes, SAS can do this. Something like this, where text is the variable in your data set that you want to search.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;Data want;
    set have;
    if find(text,'within 10 minutes')&amp;gt;0 or find(text,'infusion')&amp;gt;0 or ... 
         /* you type the rest */ then output;
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Also, did you really mean to use the word "and"? The code I gave assumes you really meant "or".&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 01:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Substring-search/m-p/479335#M123703</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-07-19T01:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: Substring search</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Substring-search/m-p/479343#M123705</link>
      <description>&lt;P&gt;Love SAS Communities!&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2018 01:55:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Substring-search/m-p/479343#M123705</guid>
      <dc:creator>zimcom</dc:creator>
      <dc:date>2018-07-19T01:55:37Z</dc:date>
    </item>
  </channel>
</rss>

