<?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 how to deal with the non-breaking space when using PROC IMPORT for excel in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/how-to-deal-with-the-non-breaking-space-when-using-PROC-IMPORT/m-p/235061#M55003</link>
    <description>&lt;P&gt;I need to convert a excel file with the extension 'xls'&amp;nbsp; to sas dataset, but there has non-breaking space in the file. when I use 'PROC IMPORT' for the converting,&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPRESS can not make it disappeared. How to deal with this?&lt;/P&gt;</description>
    <pubDate>Tue, 17 Nov 2015 16:33:54 GMT</pubDate>
    <dc:creator>sasmilly</dc:creator>
    <dc:date>2015-11-17T16:33:54Z</dc:date>
    <item>
      <title>how to deal with the non-breaking space when using PROC IMPORT for excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-deal-with-the-non-breaking-space-when-using-PROC-IMPORT/m-p/235061#M55003</link>
      <description>&lt;P&gt;I need to convert a excel file with the extension 'xls'&amp;nbsp; to sas dataset, but there has non-breaking space in the file. when I use 'PROC IMPORT' for the converting,&amp;nbsp;&amp;nbsp;&amp;nbsp; COMPRESS can not make it disappeared. How to deal with this?&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 16:33:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-deal-with-the-non-breaking-space-when-using-PROC-IMPORT/m-p/235061#M55003</guid>
      <dc:creator>sasmilly</dc:creator>
      <dc:date>2015-11-17T16:33:54Z</dc:date>
    </item>
    <item>
      <title>Re: how to deal with the non-breaking space when using PROC IMPORT for excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-deal-with-the-non-breaking-space-when-using-PROC-IMPORT/m-p/235063#M55004</link>
      <description>&lt;P&gt;A non-breaking space is code 255, or ASCII 'FF'x, have you tried to remove this from your text string?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;y=compress(x,'FF'x);&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 16:40:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-deal-with-the-non-breaking-space-when-using-PROC-IMPORT/m-p/235063#M55004</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2015-11-17T16:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to deal with the non-breaking space when using PROC IMPORT for excel</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/how-to-deal-with-the-non-breaking-space-when-using-PROC-IMPORT/m-p/235083#M55010</link>
      <description>&lt;P&gt;Most of the non-breaking spaces I've come across had an ASCII code of 160. So, my suggestion would have been something like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;y=compress(x, 'A0'x)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or, to remove both 'A0'x and 'FF'x,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;y=&lt;SPAN&gt;compress(x, 'A0FF'x),&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;EM&gt;if&lt;/EM&gt; you had not said that "COMPRESS can not make it disappeared."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe you're better off using relevant Excel functions to "clean" your Excel file before importing it. Here's the link to the pertinent page of&amp;nbsp;&lt;A href="https://support.office.com/en-us/article/Remove-spaces-and-nonprinting-characters-from-text-023f3a08-3d56-49e4-bf0c-fe5303222c9d?rs=en-US&amp;amp;ui=en-US&amp;amp;ad=US" target="_blank"&gt;the Excel online help.&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Nov 2015 17:45:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/how-to-deal-with-the-non-breaking-space-when-using-PROC-IMPORT/m-p/235083#M55010</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2015-11-17T17:45:26Z</dc:date>
    </item>
  </channel>
</rss>

