<?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: Removing Special Characters in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/49091#M10145</link>
    <description>should be careful with this kind of data.&lt;BR /&gt;
&lt;BR /&gt;
why do these special values occur?&lt;BR /&gt;
&lt;BR /&gt;
Possibly they mean something.&lt;BR /&gt;
&lt;BR /&gt;
Check with someone who knows that data source, or the service provider&lt;BR /&gt;
&lt;BR /&gt;
good luck&lt;BR /&gt;
&lt;BR /&gt;
PeterC</description>
    <pubDate>Fri, 26 Sep 2008 22:22:17 GMT</pubDate>
    <dc:creator>Peter_C</dc:creator>
    <dc:date>2008-09-26T22:22:17Z</dc:date>
    <item>
      <title>Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/49088#M10142</link>
      <description>I'm using SAS to extract data from a database.  Some of the fields I'm grabbing are text fields that have newline and carriage return characters embedded.  I tried to use TRANWRD to remove these characters, but I may not be doing it correctly.&lt;BR /&gt;
&lt;BR /&gt;
When I import this data into MS Excel, I see that the special characters appear as '\x0a\x0d'.  SAS displays this as a pair of boxes.  &lt;BR /&gt;
&lt;BR /&gt;
What is the proper way to remove these newline and carriage return characters from a text field?</description>
      <pubDate>Tue, 23 Sep 2008 16:05:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/49088#M10142</guid>
      <dc:creator>1162</dc:creator>
      <dc:date>2008-09-23T16:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/49089#M10143</link>
      <description>Looks like I answered my own question . . .&lt;BR /&gt;
&lt;BR /&gt;
I can refer to them as '0D'x and '0A'x in the TRANSLATE function.</description>
      <pubDate>Tue, 23 Sep 2008 16:36:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/49089#M10143</guid>
      <dc:creator>1162</dc:creator>
      <dc:date>2008-09-23T16:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/49090#M10144</link>
      <description>TRANSLATE will work, COMPRESS would do the job as well.&lt;BR /&gt;
If you're ever looking for more difficult replacements then get familiar with regular expressions (PRXCHANGE and the like).&lt;BR /&gt;
Cheers&lt;BR /&gt;
Patrick</description>
      <pubDate>Wed, 24 Sep 2008 11:39:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/49090#M10144</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2008-09-24T11:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Removing Special Characters</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/49091#M10145</link>
      <description>should be careful with this kind of data.&lt;BR /&gt;
&lt;BR /&gt;
why do these special values occur?&lt;BR /&gt;
&lt;BR /&gt;
Possibly they mean something.&lt;BR /&gt;
&lt;BR /&gt;
Check with someone who knows that data source, or the service provider&lt;BR /&gt;
&lt;BR /&gt;
good luck&lt;BR /&gt;
&lt;BR /&gt;
PeterC</description>
      <pubDate>Fri, 26 Sep 2008 22:22:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Removing-Special-Characters/m-p/49091#M10145</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2008-09-26T22:22:17Z</dc:date>
    </item>
  </channel>
</rss>

