<?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: Question about FIND function in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Question-about-FIND-function/m-p/661869#M22733</link>
    <description>&lt;P&gt;You can also look up what SAS functions do, and what the options do, here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=allprodslang&amp;amp;docsetTarget=syntaxByType-function.htm&amp;amp;locale=en" target="_self"&gt;Alphabetical List of All SAS 9.4 Functions&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Jun 2020 18:19:07 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2020-06-17T18:19:07Z</dc:date>
    <item>
      <title>Question about FIND function</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-FIND-function/m-p/661860#M22731</link>
      <description>&lt;P&gt;Given the following dataset:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="zihdonv19_0-1592417205602.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/45300iEB47C214EED12E2E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="zihdonv19_0-1592417205602.png" alt="zihdonv19_0-1592417205602.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;libname results 'c:\cert\output';&lt;BR /&gt;data results.output03_1 (drop=n);&lt;BR /&gt;set cert.input03;&lt;BR /&gt;n=find(major,'and',&lt;STRONG&gt;'i'&lt;/STRONG&gt;);&lt;BR /&gt;if n^=0 then do;&lt;BR /&gt;second_major=subtr(major,&lt;STRONG&gt;n+4&lt;/STRONG&gt;);&lt;BR /&gt;major=subtr(major,1,&lt;STRONG&gt;n-2&lt;/STRONG&gt;);&lt;BR /&gt;end;&lt;BR /&gt;run;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;What do the above bold parts "i" "n+4" and "n-2" mean?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 18:11:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-FIND-function/m-p/661860#M22731</guid>
      <dc:creator>zihdonv19</dc:creator>
      <dc:date>2020-06-17T18:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Question about FIND function</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-FIND-function/m-p/661865#M22732</link>
      <description>&lt;P&gt;i&amp;nbsp; - case insensitive search&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;n- starting position of the word searched in the string&lt;/P&gt;
&lt;P&gt;n+4 - starting position from which substr will start to extract chars&lt;/P&gt;
&lt;P&gt;n-2- evaluates to length of chars that the substr will extract&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please get hold of SAS functions&amp;nbsp; by example- A book by author Ron cody&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 18:15:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-FIND-function/m-p/661865#M22732</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-06-17T18:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Question about FIND function</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Question-about-FIND-function/m-p/661869#M22733</link>
      <description>&lt;P&gt;You can also look up what SAS functions do, and what the options do, here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmmvacdc&amp;amp;cdcVersion=9.4&amp;amp;docsetId=allprodslang&amp;amp;docsetTarget=syntaxByType-function.htm&amp;amp;locale=en" target="_self"&gt;Alphabetical List of All SAS 9.4 Functions&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jun 2020 18:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Question-about-FIND-function/m-p/661869#M22733</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-06-17T18:19:07Z</dc:date>
    </item>
  </channel>
</rss>

