<?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: Help with automating a text box using Arcade. in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/help-with-automating-a-text-box-using-arcade/m-p/1314898#M71677</link>
    <description>&lt;P&gt;That totally worked!!!&amp;nbsp; Thank you so much for the help!!!&lt;/P&gt;</description>
    <pubDate>Thu, 03 Aug 2023 02:36:02 GMT</pubDate>
    <dc:creator>ColeNelson</dc:creator>
    <dc:date>2023-08-03T02:36:02Z</dc:date>
    <item>
      <title>Help with automating a text box using Arcade.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-with-automating-a-text-box-using-arcade/m-p/1314852#M71670</link>
      <description>&lt;P&gt;Hi I am trying to automate a text box in a layout that I am creating so that all I need to do is add the map from and the title is automatically formatted.&amp;nbsp; I've been working with arcade and have been using proper() function to do this.&amp;nbsp; However there are instances when I need every character in a group capitalized.&amp;nbsp; For example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-08-02 162705.png" style="width: 581px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77153i2A78F06D80F05E5A/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-08-02 162705.png" alt="Screenshot 2023-08-02 162705.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The title should read South Boundary Fire Protection District (F.P.D.) but when I use proper it generates (F.p.d.) instead. I have other areas with similar names so I was thinking I could capitalize the letter if it appears after a period or something along those lines.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-08-02 163009.png" style="width: 526px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/77154iBD916DF02DB699BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-08-02 163009.png" alt="Screenshot 2023-08-02 163009.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the current code that I am using inside the expression builder, any suggestions or thoughts on how to this would be great.&amp;nbsp; I'm not quite sure how to go about doing this, so thank you for the help!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 22:34:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-with-automating-a-text-box-using-arcade/m-p/1314852#M71670</guid>
      <dc:creator>ColeNelson</dc:creator>
      <dc:date>2023-08-02T22:34:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with automating a text box using Arcade.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-with-automating-a-text-box-using-arcade/m-p/1314879#M71673</link>
      <description>&lt;P&gt;If your text is always Abc (x.y.z) format, as in your abbreviations are always in brackets, then you could use this piece of Arcade:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var i = Find('(',$feature.name1);
var n = Count($feature.name1);
var x = (n - i);
var rTXT = Upper(Right($feature.name1, x));
var lTXT = Proper(Left($feature.name1, i));
return Concatenate([lTXT,rTXT]);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my test data the text field is called name1, you would use NAME.&lt;/P&gt;&lt;P&gt;Code works by locating the first open bracket and then uses that location to pull out the right text to set UPPER and the left text to set PROPER.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 00:09:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-with-automating-a-text-box-using-arcade/m-p/1314879#M71673</guid>
      <dc:creator>DuncanHornby</dc:creator>
      <dc:date>2023-08-03T00:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: Help with automating a text box using Arcade.</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/help-with-automating-a-text-box-using-arcade/m-p/1314898#M71677</link>
      <description>&lt;P&gt;That totally worked!!!&amp;nbsp; Thank you so much for the help!!!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 02:36:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/help-with-automating-a-text-box-using-arcade/m-p/1314898#M71677</guid>
      <dc:creator>ColeNelson</dc:creator>
      <dc:date>2023-08-03T02:36:02Z</dc:date>
    </item>
  </channel>
</rss>

