<?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: Python Proper Case issues in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-proper-case-issues/m-p/611436#M47709</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;" ".join([x.capitalize() for x in !ST_NAME!.split(" ")])&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Feb 2012 19:15:37 GMT</pubDate>
    <dc:creator>BruceNielsen</dc:creator>
    <dc:date>2012-02-10T19:15:37Z</dc:date>
    <item>
      <title>Python Proper Case issues</title>
      <link>https://community.esri.com/t5/python-questions/python-proper-case-issues/m-p/611435#M47708</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In ArcMap 10.0 I am trying to convert all upper case street names to proper case.&amp;nbsp; I have the script which is&amp;nbsp;&amp;nbsp; !ST_NAME!.title()&amp;nbsp; and it works fine for most streets.&amp;nbsp; However, on streets that have an apostrophe it will change it from HOLLY'S ST&amp;nbsp; to Holly'S St&amp;nbsp; with the letter after the apostrophe still capitalized.&amp;nbsp; Also, when I have a street like&amp;nbsp; 46TH AVE&amp;nbsp; it will change it to 46Th Ave&amp;nbsp; leaving the letter after the number capitalized.&amp;nbsp; Is there a way to fix these?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any help is appreciated&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 18:33:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-proper-case-issues/m-p/611435#M47708</guid>
      <dc:creator>DennisGookin</dc:creator>
      <dc:date>2012-02-10T18:33:49Z</dc:date>
    </item>
    <item>
      <title>Re: Python Proper Case issues</title>
      <link>https://community.esri.com/t5/python-questions/python-proper-case-issues/m-p/611436#M47709</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Try this:&lt;/SPAN&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;" ".join([x.capitalize() for x in !ST_NAME!.split(" ")])&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 19:15:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-proper-case-issues/m-p/611436#M47709</guid>
      <dc:creator>BruceNielsen</dc:creator>
      <dc:date>2012-02-10T19:15:37Z</dc:date>
    </item>
    <item>
      <title>Re: Python Proper Case issues</title>
      <link>https://community.esri.com/t5/python-questions/python-proper-case-issues/m-p/611437#M47710</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Don't forget the Scots!&amp;nbsp; MCDONALD will become Mcdonald, but should be McDonald.&amp;nbsp; MACRAY will become Macray, but should be MacRay.&amp;nbsp; We Scots just like to mess things up for you.&amp;nbsp; (But you have to give a pass on MACARONI to Macaroni, since were not Italian).&amp;nbsp; Of course the Irish half of me won't let you bypass all of the apostrophes, since O'HARE should become O'Hare.&amp;nbsp; Just a reminder that we are proud to be a Son of ... a Donald, Ray or Hare (or whatever else we are a Son of).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Feb 2012 19:41:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-proper-case-issues/m-p/611437#M47710</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2012-02-10T19:41:22Z</dc:date>
    </item>
  </channel>
</rss>

