<?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 Finding 2 words on the same line. in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Finding-2-words-on-the-same-line/m-p/817992#M34576</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want a small help where in I want to search a column for 2 words and if both words are present then execute an if statement else execute the other part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if I have 2 strings in a column: &lt;STRONG&gt;Input1:Hello.everyone.how.are.you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Input2:Hello.all.how.are.you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then if "Input1" and "Every" is present in a single row of a column, the output should be 1. So for the first string output should be 1 and for the second one output should be 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jun 2022 04:08:43 GMT</pubDate>
    <dc:creator>UV_123</dc:creator>
    <dc:date>2022-06-14T04:08:43Z</dc:date>
    <item>
      <title>Finding 2 words on the same line.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Finding-2-words-on-the-same-line/m-p/817992#M34576</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want a small help where in I want to search a column for 2 words and if both words are present then execute an if statement else execute the other part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, if I have 2 strings in a column: &lt;STRONG&gt;Input1:Hello.everyone.how.are.you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Input2:Hello.all.how.are.you&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;then if "Input1" and "Every" is present in a single row of a column, the output should be 1. So for the first string output should be 1 and for the second one output should be 0.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jun 2022 04:08:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Finding-2-words-on-the-same-line/m-p/817992#M34576</guid>
      <dc:creator>UV_123</dc:creator>
      <dc:date>2022-06-14T04:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Finding 2 words on the same line.</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Finding-2-words-on-the-same-line/m-p/817998#M34577</link>
      <description>&lt;P&gt;The&amp;nbsp;&lt;U&gt;word&lt;/U&gt; "Every" is not present anywhere in your data. Please review your question:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;words or substrings?&lt;/LI&gt;
&lt;LI&gt;case sensitivity?&lt;/LI&gt;
&lt;LI&gt;if words, which are the delimiters?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Tue, 14 Jun 2022 06:32:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Finding-2-words-on-the-same-line/m-p/817998#M34577</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-06-14T06:32:18Z</dc:date>
    </item>
  </channel>
</rss>

