<?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: How do I remove Tabs from data - Excel file is unreadable in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-remove-Tabs-from-data-Excel-file-is-unreadable/m-p/501191#M469</link>
    <description>&lt;P&gt;You can also use TRANWRD() function to replace tab with a space&amp;nbsp;&lt;STRONG&gt;tranwrd(string,'09'x,' ')&lt;/STRONG&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Oct 2018 15:42:21 GMT</pubDate>
    <dc:creator>SuryaKiran</dc:creator>
    <dc:date>2018-10-03T15:42:21Z</dc:date>
    <item>
      <title>How do I remove Tabs from data - Excel file is unreadable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-remove-Tabs-from-data-Excel-file-is-unreadable/m-p/501154#M451</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We're having issues removing tabs from our data as after the data massage the export into an Excel file is Unreadable and it's mostly caused by users entering a tab character in the software.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've tried the following and others without any success:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROJECT_NOTES=compress(PROJECT_NOTES,' ',s);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the quotes is a tab. Removing the tab or replacing it with a space is OK.&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;P&gt;SAS 9.3&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 14:22:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-remove-Tabs-from-data-Excel-file-is-unreadable/m-p/501154#M451</guid>
      <dc:creator>AdamR</dc:creator>
      <dc:date>2018-10-03T14:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove Tabs from data - Excel file is unreadable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-remove-Tabs-from-data-Excel-file-is-unreadable/m-p/501157#M453</link>
      <description>&lt;P&gt;To remove tabs I would say:&lt;/P&gt;
&lt;PRE&gt;project_notes=compress(project_notes,'09'x);&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Oct 2018 14:32:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-remove-Tabs-from-data-Excel-file-is-unreadable/m-p/501157#M453</guid>
      <dc:creator>RW9</dc:creator>
      <dc:date>2018-10-03T14:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove Tabs from data - Excel file is unreadable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-remove-Tabs-from-data-Excel-file-is-unreadable/m-p/501189#M467</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/82111"&gt;@AdamR&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;We've tried the following and others without any success:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROJECT_NOTES=compress(PROJECT_NOTES,' ',s);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the quotes is a tab. Removing the tab or replacing it with a space is OK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/82111"&gt;@AdamR&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The modifier in the third argument of COMPRESS must be a character expression, i.e. &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;'&lt;/FONT&gt;&lt;/STRONG&gt;s&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT color="#FF0000"&gt;&lt;FONT color="#000000"&gt; (unless s is a character variable containing the string 's' or 'S' etc.). With this correction the COMPRESS function should remove tabs ('09'x) and a few other "space characters" &lt;EM&gt;regardless&lt;/EM&gt; what's in the quotes in the second argument.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 15:36:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-remove-Tabs-from-data-Excel-file-is-unreadable/m-p/501189#M467</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2018-10-03T15:36:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove Tabs from data - Excel file is unreadable</title>
      <link>https://communities.sas.com/t5/New-SAS-User/How-do-I-remove-Tabs-from-data-Excel-file-is-unreadable/m-p/501191#M469</link>
      <description>&lt;P&gt;You can also use TRANWRD() function to replace tab with a space&amp;nbsp;&lt;STRONG&gt;tranwrd(string,'09'x,' ')&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Oct 2018 15:42:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/How-do-I-remove-Tabs-from-data-Excel-file-is-unreadable/m-p/501191#M469</guid>
      <dc:creator>SuryaKiran</dc:creator>
      <dc:date>2018-10-03T15:42:21Z</dc:date>
    </item>
  </channel>
</rss>

