<?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 Label Expression ArcMap using mid and find. in Mapping Questions</title>
    <link>https://community.esri.com/t5/mapping-questions/help-with-label-expression-arcmap-using-mid-and/m-p/1013731#M8259</link>
    <description>&lt;P&gt;try this out (Python):&lt;/P&gt;&lt;LI-CODE lang="python"&gt;!FULLADDRESS! + "-" + !COMMENT![(!COMMENT!.find('BLD')):(!COMMENT!.find('BLD')+6)]&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fieldcalc.png" style="width: 506px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3181i49BF881A8F440CC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="fieldcalc.png" alt="fieldcalc.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jan 2021 20:24:43 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2021-01-04T20:24:43Z</dc:date>
    <item>
      <title>Help with Label Expression ArcMap using mid and find.</title>
      <link>https://community.esri.com/t5/mapping-questions/help-with-label-expression-arcmap-using-mid-and/m-p/1013688#M8258</link>
      <description>&lt;P&gt;Hi, I need some help doing an arcade expression from ArcGIS Pro 2.5.1 in ArcMap 10.8, and I just can't figure it out in VBScript, I have not tried it in python as I've never really used in in label expressions.&lt;/P&gt;&lt;P&gt;Here is the expression in Arcade, it's done as a catch all looking for anywhere it has BLDG, sometimes it's in as BLD, there are a couple other variants, but this covers the majority.&lt;/P&gt;&lt;P&gt;$feature.FULLADDRESS + "-" + Mid($feature.COMMENT,(find('BLD',$feature.COMMENT, 0)),6)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 19:14:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/help-with-label-expression-arcmap-using-mid-and/m-p/1013688#M8258</guid>
      <dc:creator>ScottCorwin</dc:creator>
      <dc:date>2021-01-04T19:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Label Expression ArcMap using mid and find.</title>
      <link>https://community.esri.com/t5/mapping-questions/help-with-label-expression-arcmap-using-mid-and/m-p/1013731#M8259</link>
      <description>&lt;P&gt;try this out (Python):&lt;/P&gt;&lt;LI-CODE lang="python"&gt;!FULLADDRESS! + "-" + !COMMENT![(!COMMENT!.find('BLD')):(!COMMENT!.find('BLD')+6)]&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fieldcalc.png" style="width: 506px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/3181i49BF881A8F440CC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="fieldcalc.png" alt="fieldcalc.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2021 20:24:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/mapping-questions/help-with-label-expression-arcmap-using-mid-and/m-p/1013731#M8259</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-01-04T20:24:43Z</dc:date>
    </item>
  </channel>
</rss>

