<?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: Does • exist? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432383#M107093</link>
    <description>&lt;P&gt;Another alternative, rather than guessing what the ascii code might be, is simply to copy and paste it into either the translate or compress function. e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data have;
  length string $80.;
  input string &amp;amp;;
  cards;
this is • that was
my oh • oh my
;

data test;
  set have;
  string=compbl(compress(string,'•'));
run;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 30 Jan 2018 18:01:23 GMT</pubDate>
    <dc:creator>art297</dc:creator>
    <dc:date>2018-01-30T18:01:23Z</dc:date>
    <item>
      <title>Does • exist?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432349#M107079</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've been going through my data and realized that I have " • " scattered in my strings...&lt;/P&gt;&lt;P&gt;I have been trying to get rid of it via TRANWRD. But it just makes no difference...&lt;/P&gt;&lt;P&gt;I then used translate to translate it to my other characters, no changes at all but no error in my log...&lt;/P&gt;&lt;P&gt;does anyone know how to remove it?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 17:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432349#M107079</guid>
      <dc:creator>AlexMoreton</dc:creator>
      <dc:date>2018-01-30T17:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Does • exist?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432355#M107083</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;get rid of&amp;nbsp;&lt;FONT color="#FF6600"&gt;'.'&lt;/FONT&gt; ? &lt;/STRONG&gt;sure?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;new_var=compress(var,'.');&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 30 Jan 2018 17:32:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432355#M107083</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-01-30T17:32:39Z</dc:date>
    </item>
    <item>
      <title>Re: Does • exist?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432358#M107085</link>
      <description>&lt;P&gt;Oh well,&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;" • " looks certainly differen&lt;STRONG&gt;t &lt;/STRONG&gt;to&lt;STRONG&gt; " . "&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 17:34:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432358#M107085</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2018-01-30T17:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Does • exist?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432361#M107087</link>
      <description>Posting code is necessary to explain possible mistakes. Use compress instead of tranwrd to remove unwanted chars.</description>
      <pubDate>Tue, 30 Jan 2018 17:39:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432361#M107087</guid>
      <dc:creator>error_prone</dc:creator>
      <dc:date>2018-01-30T17:39:21Z</dc:date>
    </item>
    <item>
      <title>Re: Does • exist?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432366#M107089</link>
      <description>&lt;P&gt;As best I can tell, the character in question has a hex code of 95.&amp;nbsp; So you should be able to convert those to blanks using:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;var = translate(var, '20'x, '95'x);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might have to test to see if that's actually the right hex code, since the text has been copied a couple of times before I get to test it.&amp;nbsp; So here's the type of program you can use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;data _null_;&lt;/P&gt;
&lt;P&gt;ch = " • ";&lt;/P&gt;
&lt;P&gt;put ch $hex8.;&lt;/P&gt;
&lt;P&gt;ch = translate(ch, '20'x, '95'x);&lt;/P&gt;
&lt;P&gt;put ch $hex8.;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 17:43:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432366#M107089</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2018-01-30T17:43:37Z</dc:date>
    </item>
    <item>
      <title>Re: Does • exist?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432383#M107093</link>
      <description>&lt;P&gt;Another alternative, rather than guessing what the ascii code might be, is simply to copy and paste it into either the translate or compress function. e.g.:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;data have;
  length string $80.;
  input string &amp;amp;;
  cards;
this is • that was
my oh • oh my
;

data test;
  set have;
  string=compbl(compress(string,'•'));
run;
&lt;/PRE&gt;
&lt;P&gt;Art, CEO, AnalystFinder.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Jan 2018 18:01:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/432383#M107093</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2018-01-30T18:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Does • exist?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/434503#M107829</link>
      <description>&lt;P&gt;Thank you Art!&lt;/P&gt;&lt;P&gt;That worked!&lt;/P&gt;</description>
      <pubDate>Tue, 06 Feb 2018 10:40:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Does-exist/m-p/434503#M107829</guid>
      <dc:creator>AlexMoreton</dc:creator>
      <dc:date>2018-02-06T10:40:39Z</dc:date>
    </item>
  </channel>
</rss>

