<?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: compress(sig_name,&amp;quot;,. &amp;quot;) in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/compress-sig-name-quot-quot/m-p/76438#M22166</link>
    <description>I think I might have figured this out myself..  Please correct me if I am wrong.&lt;BR /&gt;
&lt;BR /&gt;
It removes ","  "." and blanks.  Am I right?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
    <pubDate>Wed, 21 Oct 2009 18:47:14 GMT</pubDate>
    <dc:creator>KevinC_</dc:creator>
    <dc:date>2009-10-21T18:47:14Z</dc:date>
    <item>
      <title>compress(sig_name,",. ")</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/compress-sig-name-quot-quot/m-p/76437#M22165</link>
      <description>Hello again,&lt;BR /&gt;
&lt;BR /&gt;
Sorry if I am asking too many questions.  I know Compress( ) removes blanks and other things.  But i can not figure out what Compress(sig_name,",. ") does.  Does anyone have any idea?&lt;BR /&gt;
&lt;BR /&gt;
Thank you so much!</description>
      <pubDate>Wed, 21 Oct 2009 18:43:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/compress-sig-name-quot-quot/m-p/76437#M22165</guid>
      <dc:creator>KevinC_</dc:creator>
      <dc:date>2009-10-21T18:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: compress(sig_name,",. ")</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/compress-sig-name-quot-quot/m-p/76438#M22166</link>
      <description>I think I might have figured this out myself..  Please correct me if I am wrong.&lt;BR /&gt;
&lt;BR /&gt;
It removes ","  "." and blanks.  Am I right?&lt;BR /&gt;
&lt;BR /&gt;
Thanks.</description>
      <pubDate>Wed, 21 Oct 2009 18:47:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/compress-sig-name-quot-quot/m-p/76438#M22166</guid>
      <dc:creator>KevinC_</dc:creator>
      <dc:date>2009-10-21T18:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: compress(sig_name,",. ")</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/compress-sig-name-quot-quot/m-p/76439#M22167</link>
      <description>Try running this. Should give you an example of how compress() will work.  If you leave the compress-list argument off, compress(x), the default is to remove blanks.  If you create a list, compress(x," .,"), we need to tell SAS to remove the blank by adding it to the list.&lt;BR /&gt;
&lt;BR /&gt;
Hope this helps.&lt;BR /&gt;
&lt;BR /&gt;
data test;&lt;BR /&gt;
	input x $1-8;&lt;BR /&gt;
	infile datalines;&lt;BR /&gt;
datalines;&lt;BR /&gt;
a,.b&lt;BR /&gt;
a  b&lt;BR /&gt;
.,&lt;BR /&gt;
;&lt;BR /&gt;
data test;&lt;BR /&gt;
	set test;&lt;BR /&gt;
a = compress(x);&lt;BR /&gt;
b = compress(x,".,");&lt;BR /&gt;
c = compress(x," .,");&lt;BR /&gt;
run;</description>
      <pubDate>Wed, 21 Oct 2009 21:23:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/compress-sig-name-quot-quot/m-p/76439#M22167</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-10-21T21:23:26Z</dc:date>
    </item>
  </channel>
</rss>

