<?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: scan function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/457293#M115929</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;

string='abc_234_knm_dfjkdhf_dfdkf';
x=substr(string,findc(string,'1234567890','b')+1);
put x=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 25 Apr 2018 14:04:49 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2018-04-25T14:04:49Z</dc:date>
    <item>
      <title>scan function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/456956#M115813</link>
      <description>&lt;P&gt;data test;&lt;/P&gt;
&lt;P&gt;string='abc_234_knm_dfjkdhf_dfdkf';&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i want ouput like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output_col = knm_dfjkdhf_dfdkf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;can some one help on this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 16:59:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/456956#M115813</guid>
      <dc:creator>mmkr</dc:creator>
      <dc:date>2018-04-24T16:59:02Z</dc:date>
    </item>
    <item>
      <title>Re: scan function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/456959#M115816</link>
      <description>&lt;P&gt;&lt;SPAN&gt;output_col&amp;nbsp;=scan(string,-1,'_');&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 17:06:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/456959#M115816</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-04-24T17:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: scan function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/456963#M115819</link>
      <description>&lt;P&gt;it wil come only "dfdkf"&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 17:10:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/456963#M115819</guid>
      <dc:creator>mmkr</dc:creator>
      <dc:date>2018-04-24T17:10:02Z</dc:date>
    </item>
    <item>
      <title>Re: scan function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/456965#M115820</link>
      <description>&lt;P&gt;I would use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;output_col = substr(string, length(scan(string, 1, '_')) + length(scan(string, 2, '_')) + 3);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm sure those familiar with parsing functions could find something elegant.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 17:12:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/456965#M115820</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-04-24T17:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: scan function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/456967#M115822</link>
      <description>&lt;P&gt;THANK YOU SO MUCH !!&lt;/P&gt;</description>
      <pubDate>Tue, 24 Apr 2018 17:14:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/456967#M115822</guid>
      <dc:creator>mmkr</dc:creator>
      <dc:date>2018-04-24T17:14:11Z</dc:date>
    </item>
    <item>
      <title>Re: scan function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/457293#M115929</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data test;

string='abc_234_knm_dfjkdhf_dfdkf';
x=substr(string,findc(string,'1234567890','b')+1);
put x=;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Apr 2018 14:04:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/scan-function/m-p/457293#M115929</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2018-04-25T14:04:49Z</dc:date>
    </item>
  </channel>
</rss>

