<?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: I want to strip special characters from SAS data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29788#M5665</link>
    <description>I would also suggest rank() and byte() functions.</description>
    <pubDate>Tue, 12 May 2009 23:40:03 GMT</pubDate>
    <dc:creator>agdesilva</dc:creator>
    <dc:date>2009-05-12T23:40:03Z</dc:date>
    <item>
      <title>I want to strip special characters from SAS data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29784#M5661</link>
      <description>I have a SAS dataset that has a variable that contains carriage returns, line feeds, and form feeds.  I want to remove these without affecting any other data.  I tried the COMPRESS function with the "s" modifier but I also removed blanks.....which is not good.  Any ideas on how to remove just the three types of characters I mentioned?  Thanks in advance.</description>
      <pubDate>Fri, 08 May 2009 19:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29784#M5661</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-08T19:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: I want to strip special characters from SAS data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29785#M5662</link>
      <description>Suggest you share the exact SAS code used with COMPRESS - I would expect you might check TRANSLATE as well.  Post the code and the related SAS log output info to your post with a pasted reply - consider adding some PUTLOG command logic with a hex-format output display to confirm the BEFORE / AFTER (new variable assignment) -- should help with your self-diagnosis desk checking.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Fri, 08 May 2009 19:58:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29785#M5662</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-05-08T19:58:11Z</dc:date>
    </item>
    <item>
      <title>Re: I want to strip special characters from SAS data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29786#M5663</link>
      <description>I think you might need the 'c' modifier instead of the 's' modifier. See &lt;A href="http://www2.sas.com/proceedings/sugi31/028-31.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi31/028-31.pdf&lt;/A&gt; for more on using the compress function.</description>
      <pubDate>Mon, 11 May 2009 16:52:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29786#M5663</guid>
      <dc:creator>sfleming</dc:creator>
      <dc:date>2009-05-11T16:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: I want to strip special characters from SAS data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29787#M5664</link>
      <description>Thanks to both of you.  I'm deciding between both of these options.  I just need to determine if I want remove the characters or replace them with something else....like a space for ease of readability.</description>
      <pubDate>Mon, 11 May 2009 18:53:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29787#M5664</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-05-11T18:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: I want to strip special characters from SAS data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29788#M5665</link>
      <description>I would also suggest rank() and byte() functions.</description>
      <pubDate>Tue, 12 May 2009 23:40:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/I-want-to-strip-special-characters-from-SAS-data/m-p/29788#M5665</guid>
      <dc:creator>agdesilva</dc:creator>
      <dc:date>2009-05-12T23:40:03Z</dc:date>
    </item>
  </channel>
</rss>

