<?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 to delete spaces in Header of .csv? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-delete-spaces-in-header-of-csv/m-p/15037#M763</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know this is a little old, but I figured it would be worth answering this for future users with the same question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try using the 'calculate field' tool and use the 'Trim' function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trim([FIELD NAME])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will trim spaces from the beginning and end of the text.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For other useful field calculator operations check out: &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/www.esri.com/news/arcuser/0405/files/fieldcalc_1.pdf "&gt;Field Calculator Unleashed&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Apr 2012 22:34:11 GMT</pubDate>
    <dc:creator>AaronTirrell</dc:creator>
    <dc:date>2012-04-25T22:34:11Z</dc:date>
    <item>
      <title>How to delete spaces in Header of .csv?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-spaces-in-header-of-csv/m-p/15036#M762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using model builder and want to import and join two tables.&amp;nbsp; The tables have spaces in the header (i.e. " Drawing Name") that muck up arcmap.&amp;nbsp; Is there any way in modelbuilder to correct the header before I attempt to import the table?&amp;nbsp; I'm a very basic user of python and I'm sure there is a scripting way to do it, but would prefer if at all possible to stick with modelbuilder.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;**sorry I didn't realize I had posted this in the wrong forum, I have reposted in Geoprocessing and would delete this post if I knew how!**&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 May 2011 05:13:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-spaces-in-header-of-csv/m-p/15036#M762</guid>
      <dc:creator>CelinaThom</dc:creator>
      <dc:date>2011-05-31T05:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete spaces in Header of .csv?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-delete-spaces-in-header-of-csv/m-p/15037#M763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know this is a little old, but I figured it would be worth answering this for future users with the same question.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try using the 'calculate field' tool and use the 'Trim' function:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Trim([FIELD NAME])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will trim spaces from the beginning and end of the text.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For other useful field calculator operations check out: &lt;/SPAN&gt;&lt;A _jive_internal="true" href="https://community.esri.com/www.esri.com/news/arcuser/0405/files/fieldcalc_1.pdf "&gt;Field Calculator Unleashed&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 22:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-delete-spaces-in-header-of-csv/m-p/15037#M763</guid>
      <dc:creator>AaronTirrell</dc:creator>
      <dc:date>2012-04-25T22:34:11Z</dc:date>
    </item>
  </channel>
</rss>

