<?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 Index function in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Index-function/m-p/116365#M32105</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this number (PID)and we want to create two numbers from it&lt;/P&gt;&lt;P&gt;00000000-11111111&lt;/P&gt;&lt;P&gt;Please correct me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Apr 2013 02:03:18 GMT</pubDate>
    <dc:creator>robertrao</dc:creator>
    <dc:date>2013-04-23T02:03:18Z</dc:date>
    <item>
      <title>Index function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Index-function/m-p/116365#M32105</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have this number (PID)and we want to create two numbers from it&lt;/P&gt;&lt;P&gt;00000000-11111111&lt;/P&gt;&lt;P&gt;Please correct me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 02:03:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Index-function/m-p/116365#M32105</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-04-23T02:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Index function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Index-function/m-p/116366#M32106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add 1 to the value returned by index.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 02:40:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Index-function/m-p/116366#M32106</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2013-04-23T02:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Index function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Index-function/m-p/116367#M32107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please explain the full line ...what happens when 1 is added to the value returned by index???????/&lt;/P&gt;&lt;P&gt;so that position becomes the starting point for the substring&lt;STRONG&gt; instead of the usual "first position"?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In this example:&lt;/P&gt;&lt;P&gt;00000000-11111111&lt;/P&gt;&lt;P&gt;the index returns&amp;nbsp; a value of 9(hyphen is in the 9th position)&lt;/P&gt;&lt;P&gt;so +1 means "we are telling the substr function to take the values from 10th position????is that right?&lt;/P&gt;&lt;P&gt;aND FROM THERE WE ARE TAKING 9 CHARECTERS???/&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 03:02:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Index-function/m-p/116367#M32107</guid>
      <dc:creator>robertrao</dc:creator>
      <dc:date>2013-04-23T03:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Index function</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Index-function/m-p/116368#M32108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robertrao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it is right.The index function returns a value of 9, so the substr function take the values from 10th position.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Apr 2013 05:01:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Index-function/m-p/116368#M32108</guid>
      <dc:creator>suraestar</dc:creator>
      <dc:date>2013-04-23T05:01:37Z</dc:date>
    </item>
  </channel>
</rss>

