<?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: Output only special characters in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Output-only-special-characters/m-p/200557#M9453</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only have what ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Jul 2015 12:54:41 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2015-07-11T12:54:41Z</dc:date>
    <item>
      <title>Output only special characters</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Output-only-special-characters/m-p/200556#M9452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Regret for posting this question in articles section. I tried to post it in discussions and every time i click post message i get a message that "&lt;SPAN class="st" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Not allowed&lt;/EM&gt; to post content more than once &lt;EM style="font-weight: inherit; font-family: inherit;"&gt;every 120 seconds&lt;/EM&gt;". I waited for&amp;nbsp; a day hoping that this issue will be resolved, but its the same. So i had no option when i tried to post it here it worked.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;This is with regard to a scenario where i would like to output special characters alone from the string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;consider that we have the following data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;"james ,thom,son &amp;amp; eligbeth ' samm"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;the output should have only&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2015 04:16:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Output-only-special-characters/m-p/200556#M9452</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2015-07-11T04:16:56Z</dc:date>
    </item>
    <item>
      <title>Re: Output only special characters</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Output-only-special-characters/m-p/200557#M9453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only have what ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2015 12:54:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Output-only-special-characters/m-p/200557#M9453</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2015-07-11T12:54:41Z</dc:date>
    </item>
    <item>
      <title>Re: Output only special characters</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Output-only-special-characters/m-p/200558#M9454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the COMPRESS function, especially the third parameter.&amp;nbsp; That controls what characters you would like to remove from an existing string, so you will be left with only the special characters.&amp;nbsp; It's up to you what "special" means, so look at the details of what is possible in that third parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Jul 2015 01:02:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Output-only-special-characters/m-p/200558#M9454</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2015-07-12T01:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: Output only special characters</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Output-only-special-characters/m-p/200559#M9455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;data have ;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;input have $ 20.;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;cards;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;abc&amp;amp;def%ghi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;abc*def^ghi&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;data want;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;set have;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;want = compress(have,,'kp');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc print; run;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Output :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE cellpadding="7" cellspacing="1" class="Table" frame="box" rules="groups" summary="Procedure Print: Data Set WORK.WANT"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH class="r RowHeader" scope="row"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TD class="l Data"&gt;&lt;STRONG&gt;abc&amp;amp;def%ghi&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="l Data"&gt;&lt;STRONG&gt;&amp;amp;%&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TH class="r RowHeader" scope="row"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TH&gt;&lt;TD class="l Data"&gt;&lt;STRONG&gt;abc*def^ghi&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD class="l Data"&gt;&lt;STRONG&gt;*^&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 08:22:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Output-only-special-characters/m-p/200559#M9455</guid>
      <dc:creator>MadhuKorni</dc:creator>
      <dc:date>2015-07-13T08:22:13Z</dc:date>
    </item>
  </channel>
</rss>

