<?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: Numerical Digits between spaces in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numerical-Digits-between-spaces/m-p/418716#M26962</link>
    <description>&lt;P&gt;Please post the code you tried, so that it is easier to suggest corrections. You can use the scan-function to get the second part of the string, then use the input-function to convert the extract to a number.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Dec 2017 09:15:23 GMT</pubDate>
    <dc:creator>error_prone</dc:creator>
    <dc:date>2017-12-06T09:15:23Z</dc:date>
    <item>
      <title>Numerical Digits between spaces</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numerical-Digits-between-spaces/m-p/418696#M26960</link>
      <description>&lt;P&gt;Hi Guys . I am only interested in the underlined digits. I have tried with the compress and substr but no luck.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Example of data;&lt;BR /&gt;&lt;BR /&gt;P2Pb &lt;U&gt;430&lt;/U&gt; 041017&lt;BR /&gt;P2P &lt;U&gt;10538&lt;/U&gt; 030517 DIBS&lt;BR /&gt;P2P &lt;U&gt;496&lt;/U&gt; 01092017&lt;BR /&gt;P2P &lt;U&gt;2594&lt;/U&gt; 01112016&lt;BR /&gt;&lt;BR /&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 07:47:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numerical-Digits-between-spaces/m-p/418696#M26960</guid>
      <dc:creator>raafat</dc:creator>
      <dc:date>2017-12-06T07:47:13Z</dc:date>
    </item>
    <item>
      <title>Re: Numerical Digits between spaces</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numerical-Digits-between-spaces/m-p/418716#M26962</link>
      <description>&lt;P&gt;Please post the code you tried, so that it is easier to suggest corrections. You can use the scan-function to get the second part of the string, then use the input-function to convert the extract to a number.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 09:15:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numerical-Digits-between-spaces/m-p/418716#M26962</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2017-12-06T09:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Numerical Digits between spaces</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numerical-Digits-between-spaces/m-p/418721#M26963</link>
      <description>&lt;PRE&gt;data want;
  set have;
  want=input(scan(thedata,2," "),best.);
run;&lt;/PRE&gt;
&lt;P&gt;Note I assume your data is called have and the variable is thedata.&lt;/P&gt;
&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Post test data in the form of a datastep in the post using a code window, we cannot guess!!!!&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Dec 2017 09:19:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Numerical-Digits-between-spaces/m-p/418721#M26963</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2017-12-06T09:19:54Z</dc:date>
    </item>
  </channel>
</rss>

