<?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: Fixing Character Data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Fixing-Character-Data/m-p/832947#M329267</link>
    <description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would be for SAS data sets.&amp;nbsp; SAS needs to get it right (easily) when determining which fields to process.&amp;nbsp; So I would think that rules out text files.&lt;/P&gt;</description>
    <pubDate>Mon, 12 Sep 2022 17:04:44 GMT</pubDate>
    <dc:creator>Astounding</dc:creator>
    <dc:date>2022-09-12T17:04:44Z</dc:date>
    <item>
      <title>Fixing Character Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fixing-Character-Data/m-p/832830#M329221</link>
      <description>&lt;P&gt;For quite a few questions on this forum, the answer lies in fixing character data ... removing tabs or occasionally removing nulls.&amp;nbsp; The programming to do this isn't overwhelming, but it might be to a relatively new SAS programmer.&amp;nbsp; It shouldn't be too hard to construct a fix, along the lines of proc remove_tabs data=.&amp;nbsp; Executing the proc would involve looking at all character variables, and removing any tab characters.&amp;nbsp; There could be options to specify:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;which characters get removed (tabs, nulls, other?)&lt;/LI&gt;
&lt;LI&gt;remove tabs for the current operating system vs. for all operating systems?&lt;/LI&gt;
&lt;LI&gt;remove all instances, vs. remove occurrences only at the end or only at the beginning of a variable&lt;/LI&gt;
&lt;LI&gt;name of output data set after "fixing"&lt;/LI&gt;
&lt;LI&gt;should the cleaning level become a permanent part of the metadata (probably impractical, as data sets get modified frequently)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This is really a suggestion for discussion purposes.&amp;nbsp; Under the current forum structure, I didn't see a way to make a Ballot suggestions.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 08:04:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fixing-Character-Data/m-p/832830#M329221</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2022-09-12T08:04:20Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing Character Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fixing-Character-Data/m-p/832937#M329264</link>
      <description>Community&amp;gt;SASWare Ballot for adding new ballot suggestions.&lt;BR /&gt;&lt;BR /&gt;Interesting concept - would this be for text files before import or for SAS data sets?</description>
      <pubDate>Mon, 12 Sep 2022 16:37:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fixing-Character-Data/m-p/832937#M329264</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-09-12T16:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: Fixing Character Data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Fixing-Character-Data/m-p/832947#M329267</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This would be for SAS data sets.&amp;nbsp; SAS needs to get it right (easily) when determining which fields to process.&amp;nbsp; So I would think that rules out text files.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2022 17:04:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Fixing-Character-Data/m-p/832947#M329267</guid>
      <dc:creator>Astounding</dc:creator>
      <dc:date>2022-09-12T17:04:44Z</dc:date>
    </item>
  </channel>
</rss>

