<?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: Arcade label expression to get right part of coded domain value? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-label-expression-to-get-right-part-of-coded/m-p/1097931#M45525</link>
    <description>&lt;P&gt;Guess this should return the "PVC" you are looking for &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Trim(Split(DomainName($feature, 'material'), '-')[-1])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Sep 2021 08:26:43 GMT</pubDate>
    <dc:creator>HåkonDreyer</dc:creator>
    <dc:date>2021-09-14T08:26:43Z</dc:date>
    <item>
      <title>Arcade label expression to get right part of coded domain value?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-label-expression-to-get-right-part-of-coded/m-p/1097889#M45520</link>
      <description>&lt;P&gt;&lt;STRONG&gt;I need to do both of these:&amp;nbsp; The field is a short but the description has the text i need.&amp;nbsp; For example &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Poly Vinyl Chloride - PVC&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;I just need the 3 or 4 characters after the dash.&amp;nbsp; I can't figure out the syntax in label properties to do both these things at once.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bring up the feature material name, but only grab the last 3-4 characters.&amp;nbsp; How do I do it in Arcade?&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;DomainName($feature, 'material')&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;right($feature.material, 4,)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 03:16:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-label-expression-to-get-right-part-of-coded/m-p/1097889#M45520</guid>
      <dc:creator>TomMagdaleno</dc:creator>
      <dc:date>2021-09-14T03:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade label expression to get right part of coded domain value?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-label-expression-to-get-right-part-of-coded/m-p/1097931#M45525</link>
      <description>&lt;P&gt;Guess this should return the "PVC" you are looking for &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Trim(Split(DomainName($feature, 'material'), '-')[-1])&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 08:26:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-label-expression-to-get-right-part-of-coded/m-p/1097931#M45525</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2021-09-14T08:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Arcade label expression to get right part of coded domain value?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/arcade-label-expression-to-get-right-part-of-coded/m-p/1098073#M45550</link>
      <description>&lt;P&gt;Thank you!!!&amp;nbsp; I was getting confused because the Right function doesn't work like other coding languages.&amp;nbsp; Trim and Split and the location of the split and the number.&amp;nbsp; Got it!&amp;nbsp; Thank you, I copied and pasted and it validated!&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Sep 2021 15:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/arcade-label-expression-to-get-right-part-of-coded/m-p/1098073#M45550</guid>
      <dc:creator>TomMagdaleno</dc:creator>
      <dc:date>2021-09-14T15:04:14Z</dc:date>
    </item>
  </channel>
</rss>

