<?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: What is var1 =COMPRESS(var1, ''); doing? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-var1-COMPRESS-var1-doing/m-p/86739#M8232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a minimum it would remove blanks from the variable which would likely only be easily noticeable if they were leading or imbedded in the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examine what happens here:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data junk;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var1 = ' some name ';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var1 = compress(var1,'');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put var1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Sep 2013 19:46:23 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2013-09-18T19:46:23Z</dc:date>
    <item>
      <title>What is var1 =COMPRESS(var1, ''); doing?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-var1-COMPRESS-var1-doing/m-p/86738#M8231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In reviewing inherited code I come across:&lt;/P&gt;&lt;P&gt;var1 =COMPRESS(var1, '');&lt;/P&gt;&lt;P&gt;I've looked at the Compress documentation and several examples, but not sure what the &lt;SPAN style="text-decoration: underline;"&gt;two single quotes with nothing in them&lt;/SPAN&gt; does?&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:20:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-var1-COMPRESS-var1-doing/m-p/86738#M8231</guid>
      <dc:creator>80sMetalForever</dc:creator>
      <dc:date>2013-09-18T19:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: What is var1 =COMPRESS(var1, ''); doing?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-var1-COMPRESS-var1-doing/m-p/86739#M8232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a minimum it would remove blanks from the variable which would likely only be easily noticeable if they were leading or imbedded in the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Examine what happens here:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;data junk;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var1 = ' some name ';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var1 = compress(var1,'');&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; put var1;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:46:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-var1-COMPRESS-var1-doing/m-p/86739#M8232</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2013-09-18T19:46:23Z</dc:date>
    </item>
    <item>
      <title>Re: What is var1 =COMPRESS(var1, ''); doing?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-var1-COMPRESS-var1-doing/m-p/86740#M8233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;perfect - that's what I thought but wanted to ensure it wasn't doing ADDITIONAL formatting...gonna remove the quotes so they don't confuse the next bloke &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:56:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/What-is-var1-COMPRESS-var1-doing/m-p/86740#M8233</guid>
      <dc:creator>80sMetalForever</dc:creator>
      <dc:date>2013-09-18T19:56:20Z</dc:date>
    </item>
  </channel>
</rss>

