<?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 How to remove characters in a label? in Mining Questions</title>
    <link>https://community.esri.com/t5/mining-questions/how-to-remove-characters-in-a-label/m-p/210319#M97</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I&amp;nbsp;have the labeling REMOVE&amp;nbsp;the last 10 characters in a label?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2019 13:39:58 GMT</pubDate>
    <dc:creator>CharlesSchwarz</dc:creator>
    <dc:date>2019-02-20T13:39:58Z</dc:date>
    <item>
      <title>How to remove characters in a label?</title>
      <link>https://community.esri.com/t5/mining-questions/how-to-remove-characters-in-a-label/m-p/210319#M97</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How can I&amp;nbsp;have the labeling REMOVE&amp;nbsp;the last 10 characters in a label?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 13:39:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/mining-questions/how-to-remove-characters-in-a-label/m-p/210319#M97</guid>
      <dc:creator>CharlesSchwarz</dc:creator>
      <dc:date>2019-02-20T13:39:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove characters in a label?</title>
      <link>https://community.esri.com/t5/mining-questions/how-to-remove-characters-in-a-label/m-p/210320#M98</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Charles - you can use the following VBScript label expression to do that:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Function FindLabel ( [COMMENT] )&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; strL = (LEN([COMMENT])-10)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; if strL &amp;gt; 0 then&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; FindLabel = MID([COMMENT], 1, strL)&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; else&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; FindLabel = [COMMENT]&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt; end if&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;End Function&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See screen capture below.&amp;nbsp; Just replace &lt;!--  with the name of the field you want to use.&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;img     alt='Label Expression screengrab'  class="image-1 jive-image j-img-original"  src='/legacyfs/online/437724_TrimLast10CharactersInLabelEpression.PNG' /&gt;&lt;/p&gt;&lt;p&gt;Jay&lt;/p&gt;&lt;/body&gt; --&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2019 16:41:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/mining-questions/how-to-remove-characters-in-a-label/m-p/210320#M98</guid>
      <dc:creator>JayJohnsonWashoeCounty</dc:creator>
      <dc:date>2019-02-20T16:41:59Z</dc:date>
    </item>
  </channel>
</rss>

