<?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 extraction a new string from character in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/extraction-a-new-string-from-character/m-p/597640#M172226</link>
    <description>&lt;P&gt;There is a character "alph32a".. How to extract "alpha" from the character.? Can anyone let me know.?&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2019 08:03:36 GMT</pubDate>
    <dc:creator>Mahirat_1</dc:creator>
    <dc:date>2019-10-18T08:03:36Z</dc:date>
    <item>
      <title>extraction a new string from character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/extraction-a-new-string-from-character/m-p/597640#M172226</link>
      <description>&lt;P&gt;There is a character "alph32a".. How to extract "alpha" from the character.? Can anyone let me know.?&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2019 08:03:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/extraction-a-new-string-from-character/m-p/597640#M172226</guid>
      <dc:creator>Mahirat_1</dc:creator>
      <dc:date>2019-10-18T08:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: extraction a new string from character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/extraction-a-new-string-from-character/m-p/597642#M172227</link>
      <description>&lt;P&gt;Use &lt;A href="https://documentation.sas.com/?docsetId=lefunctionsref&amp;amp;docsetTarget=n0fcshr0ir3h73n1b845c4aq58hz.htm&amp;amp;docsetVersion=9.4&amp;amp;locale=en" target="_self"&gt;Compress Function&lt;/A&gt; like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data _null_;
    string="alph32a";
    newstring=compress(string, '', 'd');
    put string= newstring=;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Result:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;string=alph32a newstring=alpha&lt;/PRE&gt;</description>
      <pubDate>Fri, 18 Oct 2019 08:06:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/extraction-a-new-string-from-character/m-p/597642#M172227</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-10-18T08:06:04Z</dc:date>
    </item>
  </channel>
</rss>

