<?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: How to parse numbers from names? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848831#M335586</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set have;
    numbers_wanted = compress(people,,'kd');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 09 Dec 2022 22:47:04 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2022-12-09T22:47:04Z</dc:date>
    <item>
      <title>How to parse numbers from names?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848820#M335580</link>
      <description>&lt;P&gt;Any advice on how to parse a complicated variable?&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;People:&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tim K&amp;nbsp;&lt;/P&gt;&lt;P&gt;00234 jorge&amp;nbsp;&lt;/P&gt;&lt;P&gt;209384colleen&amp;nbsp;&lt;/P&gt;&lt;P&gt;j lopez 0897111&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I just need the numbers in the beginning and the end of the names either gone or in another variable. Since they're not exactly uniform, I am unsure on how to approach this. Any advice would be greatly appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Dec 2022 21:47:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848820#M335580</guid>
      <dc:creator>lu_king</dc:creator>
      <dc:date>2022-12-09T21:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse numbers from names?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848831#M335586</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
    set have;
    numbers_wanted = compress(people,,'kd');
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 09 Dec 2022 22:47:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848831#M335586</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-09T22:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse numbers from names?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848868#M335610</link>
      <description>use compress function with KD (keep Digits)&lt;BR /&gt;&lt;BR /&gt;data example1;&lt;BR /&gt;set example;&lt;BR /&gt;num=compress(people,,'KD');&lt;BR /&gt;run;</description>
      <pubDate>Sat, 10 Dec 2022 10:27:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848868#M335610</guid>
      <dc:creator>tejarongli21</dc:creator>
      <dc:date>2022-12-10T10:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse numbers from names?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848871#M335613</link>
      <description>&lt;P&gt;You want &lt;EM&gt;&lt;STRONG&gt;all&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;numbers from your variable gone or you want only the ones at the beginning or end gone?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Dec 2022 11:29:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848871#M335613</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2022-12-10T11:29:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to parse numbers from names?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848943#M335649</link>
      <description>Hi Peter,&lt;BR /&gt;&lt;BR /&gt;Thanks for asking! I just need the numbers in the beginning and end gone!</description>
      <pubDate>Sat, 10 Dec 2022 23:30:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-parse-numbers-from-names/m-p/848943#M335649</guid>
      <dc:creator>lu_king</dc:creator>
      <dc:date>2022-12-10T23:30:25Z</dc:date>
    </item>
  </channel>
</rss>

