<?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: Need help with changing field value from uppercase to capitalize in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/need-help-with-changing-field-value-from-uppercase/m-p/1112907#M62864</link>
    <description>&lt;P&gt;Try row[0].&lt;SPAN&gt;title() In your format line.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 01 Nov 2021 17:24:32 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-11-01T17:24:32Z</dc:date>
    <item>
      <title>Need help with changing field value from uppercase to capitalize</title>
      <link>https://community.esri.com/t5/python-questions/need-help-with-changing-field-value-from-uppercase/m-p/1112901#M62863</link>
      <description>&lt;P&gt;The following script is taken to field values from an attribute table and printing a string. My problems is that the first field (SpringName) is all uppercase and I need it to only be capitalized. Any and all help is greatly appreciated&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;import arcpy&lt;BR /&gt;from arcpy import env&lt;BR /&gt;env.workspace = "C:/Users/morganp/Documents/NOTES/msu/LM_9/Lab9data/gaswell_L9.gdb"&lt;BR /&gt;fc = "Springs"&lt;BR /&gt;fields = ["SpringName", "Cnty_name"]&lt;BR /&gt;with arcpy.da.SearchCursor(fc, fields) as cursor:&lt;BR /&gt;for row in cursor:&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;print(u'{0}Spring is located in {1} County'.format(row[0], row[1]))&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 17:10:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/need-help-with-changing-field-value-from-uppercase/m-p/1112901#M62863</guid>
      <dc:creator>PatrickMorgan39339662</dc:creator>
      <dc:date>2021-11-01T17:10:34Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with changing field value from uppercase to capitalize</title>
      <link>https://community.esri.com/t5/python-questions/need-help-with-changing-field-value-from-uppercase/m-p/1112907#M62864</link>
      <description>&lt;P&gt;Try row[0].&lt;SPAN&gt;title() In your format line.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Nov 2021 17:24:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/need-help-with-changing-field-value-from-uppercase/m-p/1112907#M62864</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-11-01T17:24:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need help with changing field value from uppercase to capitalize</title>
      <link>https://community.esri.com/t5/python-questions/need-help-with-changing-field-value-from-uppercase/m-p/1113472#M62878</link>
      <description>&lt;P&gt;Thank you very much, that fixed it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Nov 2021 00:16:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/need-help-with-changing-field-value-from-uppercase/m-p/1113472#M62878</guid>
      <dc:creator>PatrickMorgan39339662</dc:creator>
      <dc:date>2021-11-03T00:16:20Z</dc:date>
    </item>
  </channel>
</rss>

