<?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: find() in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/find/m-p/517747#M3395</link>
    <description>&lt;P&gt;You should be using a value of 1 for STARTPOSEXP.&amp;nbsp; You are actually using a value of -22 (after performing math for 1 minus 23).&amp;nbsp; So the software computes the starting position by moving backwards from the right-hand side of the string.&amp;nbsp; Details are in the documentation for FIND.&lt;/P&gt;</description>
    <pubDate>Sat, 01 Dec 2018 15:53:46 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2018-12-01T15:53:46Z</dc:date>
    <item>
      <title>find()</title>
      <link>https://communities.sas.com/t5/New-SAS-User/find/m-p/517746#M3394</link>
      <description>&lt;P&gt;data _null_;&lt;BR /&gt;xyz='She sells seashells? Yes, she does.';&lt;BR /&gt;startposexp=1-23;&lt;BR /&gt;whereisShe_ineg22=find(xyz,'She','i',startposexp);&lt;BR /&gt;put whereisShe_ineg22=;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should receive output&amp;nbsp;&lt;SPAN&gt;whereisShe_ineg22=1 instead I am getting&amp;nbsp;whereisShe_ineg22=14.&lt;BR /&gt;why?Let me&amp;nbsp; know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nirupama&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 01 Dec 2018 15:44:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/find/m-p/517746#M3394</guid>
      <dc:creator>nirupama1</dc:creator>
      <dc:date>2018-12-01T15:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: find()</title>
      <link>https://communities.sas.com/t5/New-SAS-User/find/m-p/517747#M3395</link>
      <description>&lt;P&gt;You should be using a value of 1 for STARTPOSEXP.&amp;nbsp; You are actually using a value of -22 (after performing math for 1 minus 23).&amp;nbsp; So the software computes the starting position by moving backwards from the right-hand side of the string.&amp;nbsp; Details are in the documentation for FIND.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Dec 2018 15:53:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/find/m-p/517747#M3395</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-12-01T15:53:46Z</dc:date>
    </item>
    <item>
      <title>Re: find()</title>
      <link>https://communities.sas.com/t5/New-SAS-User/find/m-p/518263#M3511</link>
      <description>&lt;PRE&gt;She sells seashells? Yes, she does.
                     ^
                     Position 22
             ^
             Postion 14
&lt;/PRE&gt;
&lt;P&gt;So you started searching backwards ad the Y.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Dec 2018 22:33:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/find/m-p/518263#M3511</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-12-03T22:33:53Z</dc:date>
    </item>
  </channel>
</rss>

