<?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 label mixed cases when the data originally in all caps? in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155980#M1720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the label expression dialog does it differently than the field calculator (convenient...&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/angry.png" /&gt;). !Name!.title() results in an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Mar 2016 20:17:38 GMT</pubDate>
    <dc:creator>DarrenWiens2</dc:creator>
    <dc:date>2016-03-10T20:17:38Z</dc:date>
    <item>
      <title>How to label mixed cases when the data originally in all caps?</title>
      <link>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155977#M1717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to label features in Mixed Cases when the data originally in all CAPS?&lt;/P&gt;&lt;P&gt;Original attribute table:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/190664_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Currently, under Label Expression, I have:&lt;/P&gt;&lt;P&gt;"DISTRICT "&amp;amp; [DISTRICT] &amp;amp; vbnewline &amp;amp; [SUPERVISOR]&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="47" src="https://community.esri.com/legacyfs/online/190665_pastedImage_1.png" style="width: 126px; height: 46.5818px;" width="126" /&gt;&lt;/P&gt;&lt;P&gt;But I would like the label to look like this:&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/190666_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;Any idea please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much!&lt;/P&gt;&lt;P&gt;Emily&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 19:04:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155977#M1717</guid>
      <dc:creator>EmilyLee</dc:creator>
      <dc:date>2016-03-10T19:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to label mixed cases when the data originally in all caps?</title>
      <link>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155978#M1718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the Label Expression, change the Parser to Python, and use the expression [Name].title() - if your field is called "Name".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 19:07:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155978#M1718</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-03-10T19:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to label mixed cases when the data originally in all caps?</title>
      <link>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155979#M1719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Darren:&lt;/P&gt;&lt;P&gt;I am sure you meant to use exclamation marks for the field delimiters with the Python Parser and not brackets, which are used with the VB Parser.&amp;nbsp; So if the field is called "Name", the expression should instead be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!Name!.title()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Capitalization will happen only for the first character at the beginning of the field and for the first alpha character that follows any white space, numbers, punctuation or special characters.&amp;nbsp; So you have to check for things like numbered streets which will appear as "1St Street" to make it "1st Street". Also, no alpha characters of a word other than the first one will be capitalized, so you have to check for things like Scottish last names beginning with Mc to change "Mcdonald" to "McDonald".&amp;nbsp; Also it capitalizes all words, including small words that normally are not capitalized in book titles like "a", "an", and "the".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 20:03:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155979#M1719</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2016-03-10T20:03:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to label mixed cases when the data originally in all caps?</title>
      <link>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155980#M1720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the label expression dialog does it differently than the field calculator (convenient...&lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/angry.png" /&gt;). !Name!.title() results in an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 20:17:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155980#M1720</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2016-03-10T20:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to label mixed cases when the data originally in all caps?</title>
      <link>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155981#M1721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are correct.&amp;nbsp; I never do this with the label expression and only use the field calculator since I always want to correct the items I noted in my amended response, but a label expression works for the data in this case.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Mar 2016 20:22:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155981#M1721</guid>
      <dc:creator>RichardFairhurst</dc:creator>
      <dc:date>2016-03-10T20:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to label mixed cases when the data originally in all caps?</title>
      <link>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155982#M1722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both Darren and Rich!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Mar 2016 15:44:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/how-to-label-mixed-cases-when-the-data-originally/m-p/155982#M1722</guid>
      <dc:creator>EmilyLee</dc:creator>
      <dc:date>2016-03-16T15:44:27Z</dc:date>
    </item>
  </channel>
</rss>

