<?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: compress special characters in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744782#M233370</link>
    <description>&lt;P&gt;What should the three resulting datasets look like?&lt;/P&gt;</description>
    <pubDate>Mon, 31 May 2021 14:39:59 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2021-05-31T14:39:59Z</dc:date>
    <item>
      <title>compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744780#M233368</link>
      <description>&lt;P&gt;Hi Guys&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below dataset split into three datasets like alphabet , digits ,special characters&lt;/P&gt;
&lt;P&gt;using compress function&amp;nbsp; i do not know exactly scan function can do this&amp;nbsp; scenario&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data special_char;
x='abacd123=@7!*#$ ^';
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 31 May 2021 14:31:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744780#M233368</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-05-31T14:31:29Z</dc:date>
    </item>
    <item>
      <title>Re: compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744781#M233369</link>
      <description>&lt;P&gt;Is there an actual question here?&lt;BR /&gt;What is it that you want to do with that dataset?&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 14:33:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744781#M233369</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-05-31T14:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744782#M233370</link>
      <description>&lt;P&gt;What should the three resulting datasets look like?&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 14:39:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744782#M233370</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-05-31T14:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744789#M233372</link>
      <description>&lt;P&gt;split into three datasets&amp;nbsp;&lt;/P&gt;
&lt;P&gt;alphabet digits special characters&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 15:40:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744789#M233372</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-05-31T15:40:47Z</dc:date>
    </item>
    <item>
      <title>Re: compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744791#M233374</link>
      <description>&lt;P&gt;You want &lt;EM&gt;&lt;STRONG&gt;three datasets&lt;/STRONG&gt;&lt;/EM&gt;?&amp;nbsp; Not &lt;EM&gt;&lt;STRONG&gt;three variables&lt;/STRONG&gt;&lt;/EM&gt; (one for each class of character)?&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 15:49:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744791#M233374</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2021-05-31T15:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744798#M233379</link>
      <description>&lt;P&gt;It seems we even have to write your questions for you.&lt;/P&gt;
&lt;P&gt;Do you mean to have three datasets, each with a character variable x,&lt;/P&gt;
&lt;P&gt;where the first contains&lt;/P&gt;
&lt;PRE&gt;abacd&lt;/PRE&gt;
&lt;P&gt;the second&lt;/P&gt;
&lt;PRE&gt;123&lt;/PRE&gt;
&lt;P&gt;and the third&lt;/P&gt;
&lt;PRE&gt;=@7!*#$ ^&lt;/PRE&gt;
&lt;P&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 31 May 2021 16:55:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744798#M233379</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-05-31T16:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744914#M233433</link>
      <description>Yes i want  create datasets  individually as you said &lt;BR /&gt;&lt;BR /&gt;data char digit special;&lt;BR /&gt;x='abacd123=@7!*#$ ^';&lt;BR /&gt;char=compress(x,,'ak');&lt;BR /&gt;digit=compress(x,,'kd');&lt;BR /&gt;specialchar=compress(x,,'kp');&lt;BR /&gt;run;&lt;BR /&gt;i do not know  how to keep special characters using compress function</description>
      <pubDate>Tue, 01 Jun 2021 12:42:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744914#M233433</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2021-06-01T12:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744917#M233435</link>
      <description>&lt;P&gt;You already have everything you need, you just need to use it "the other way round".&lt;/P&gt;
&lt;P&gt;So ask yourself first: "what does the modifier string 'ak' do?"&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 12:50:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744917#M233435</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2021-06-01T12:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744927#M233443</link>
      <description>&lt;P&gt;But that code just creates three duplicates of the same dataset.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If 'ka' keeps alpha and 'kd' keeps digits then to get everything else use 'ad' without the k.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 13:11:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/compress-special-characters/m-p/744927#M233443</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-06-01T13:11:07Z</dc:date>
    </item>
  </channel>
</rss>

