<?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: Drop alpha portion of alphanumeric variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Drop-alpha-portion-of-alphanumeric-variable/m-p/53461#M11293</link>
    <description>Thanks!  COMPRESS worked like a charm.</description>
    <pubDate>Fri, 10 Oct 2008 18:34:20 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2008-10-10T18:34:20Z</dc:date>
    <item>
      <title>Drop alpha portion of alphanumeric variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-alpha-portion-of-alphanumeric-variable/m-p/53459#M11291</link>
      <description>What is the most efficient way to drop the alpha portion of a large dataset of alphanumeric variables and then store the numeric portion as text?  Examples of the existing data:0000000001M&lt;BR /&gt;
0000003840M&lt;BR /&gt;
0000003841M&lt;BR /&gt;
0000003850M&lt;BR /&gt;
0009321993M&lt;BR /&gt;
0015270457M&lt;BR /&gt;
0015318819M&lt;BR /&gt;
0015326549M&lt;BR /&gt;
0015329899M&lt;BR /&gt;
0015332091M&lt;BR /&gt;
0015332554M&lt;BR /&gt;
0015334238M&lt;BR /&gt;
&lt;BR /&gt;
I want to drop the "M" (although the alpha characters are not always M) and keep the remainder of the string with all leading 0.&lt;BR /&gt;
&lt;BR /&gt;
Thanks,</description>
      <pubDate>Fri, 10 Oct 2008 18:18:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-alpha-portion-of-alphanumeric-variable/m-p/53459#M11291</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-10-10T18:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Drop alpha portion of alphanumeric variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-alpha-portion-of-alphanumeric-variable/m-p/53460#M11292</link>
      <description>Hi:&lt;BR /&gt;
  Check out the COMPRESS function examples. There are some arguments that you can add to the function call to suppress out either alpha characters or digits ('A', 'l' or 'd') are the arguments.&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 10 Oct 2008 18:23:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-alpha-portion-of-alphanumeric-variable/m-p/53460#M11292</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2008-10-10T18:23:18Z</dc:date>
    </item>
    <item>
      <title>Re: Drop alpha portion of alphanumeric variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Drop-alpha-portion-of-alphanumeric-variable/m-p/53461#M11293</link>
      <description>Thanks!  COMPRESS worked like a charm.</description>
      <pubDate>Fri, 10 Oct 2008 18:34:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Drop-alpha-portion-of-alphanumeric-variable/m-p/53461#M11293</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2008-10-10T18:34:20Z</dc:date>
    </item>
  </channel>
</rss>

