<?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 Compress special characters in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36347#M9130</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Put all of the characters to compress within one set of quotes. The comma between them as you have is trying to interpret the # as a modifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;street=upcase(compress(street,'.#');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2011 16:44:34 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2011-10-27T16:44:34Z</dc:date>
    <item>
      <title>Compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36345#M9128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to compress all special characters out of street addresses.&amp;nbsp; It won't allow me to compress #.&amp;nbsp; When&amp;nbsp; I take it out of the statement, it does allow me to compress the periods.&amp;nbsp; I have other characters such as commas and apostrophes I want to get rid of also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;street=upcase(compress(street,'.','#');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 16:34:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36345#M9128</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2011-10-27T16:34:04Z</dc:date>
    </item>
    <item>
      <title>Compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36346#M9129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;RTFM.&amp;nbsp; You have the syntax wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;street=upcase(compress(street,'.#');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 16:44:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36346#M9129</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-10-27T16:44:09Z</dc:date>
    </item>
    <item>
      <title>Compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36347#M9130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Put all of the characters to compress within one set of quotes. The comma between them as you have is trying to interpret the # as a modifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;street=upcase(compress(street,'.#');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 16:44:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36347#M9130</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2011-10-27T16:44:34Z</dc:date>
    </item>
    <item>
      <title>Compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36348#M9131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Excellent.&amp;nbsp; Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 16:49:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36348#M9131</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2011-10-27T16:49:58Z</dc:date>
    </item>
    <item>
      <title>Compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36349#M9132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You might find it even easier if you just KEEP the characters you want.&amp;nbsp; e.g.,&lt;/P&gt;&lt;TABLE cellpadding="5" cellspacing="0" class="largeSpace" style="font-style: normal; font-size: 13px; line-height: 1.25em; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; text-align: left;"&gt;&lt;TBODY style="font-style: normal; font-size: 13px; line-height: 1.25em; font-family: inherit; text-align: left;"&gt;&lt;TR align="left" style="font-style: normal; font-size: 13px; line-height: 1.25em; font-family: inherit; text-align: left; vertical-align: top;" valign="top"&gt;&lt;TD style="font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; color: #000000;"&gt;n or N&lt;/TD&gt;&lt;TD align="left" style="font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; color: #000000;"&gt;&lt;P style="margin-bottom: 1.4em; font-style: normal; font-size: 13px; line-height: 1.25em; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; text-align: left; color: #000000;"&gt;&lt;A name="a002893180" style="font-style: normal; font-size: 13px; line-height: 1.25em; font-family: inherit; text-align: left;"&gt;&lt;/A&gt;adds digits, the underscore character, and English letters to the list of characters.&lt;/P&gt;&lt;P style="margin-bottom: 1.4em; font-style: normal; font-size: 13px; line-height: 1.25em; font-family: arial, 'Arial Unicode MS', geneva, 'Lucida Grande', sans-serif; text-align: left; color: #000000;"&gt;thus street=compress(street,,'kn) might accomplish everything you want&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 16:50:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36349#M9132</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-10-27T16:50:38Z</dc:date>
    </item>
    <item>
      <title>Compress special characters</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36350#M9133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Cool.&amp;nbsp; That's good to know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 16:55:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Compress-special-characters/m-p/36350#M9133</guid>
      <dc:creator>GreggB</dc:creator>
      <dc:date>2011-10-27T16:55:11Z</dc:date>
    </item>
  </channel>
</rss>

