<?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 Remove Trailing Zeroes from Labels in ArcOnline in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/remove-trailing-zeroes-from-labels-in-arconline/m-p/1482380#M59487</link>
    <description>&lt;P&gt;I am trying to create a road map, but the main roads have 7-digit ID's that I'm using as labels that have 5 to 4 trailing zeroes, such as the 1800000 road, or the 1917000 road. This obviously creates unnecessarily messy labels and I want to trim off any and all of these trailing zeroes using a label expression. I have absolutely no experience with coding so need help though. Thanks!&lt;/P&gt;</description>
    <pubDate>Sat, 01 Jun 2024 06:10:43 GMT</pubDate>
    <dc:creator>JustinGeertsen</dc:creator>
    <dc:date>2024-06-01T06:10:43Z</dc:date>
    <item>
      <title>Remove Trailing Zeroes from Labels in ArcOnline</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/remove-trailing-zeroes-from-labels-in-arconline/m-p/1482380#M59487</link>
      <description>&lt;P&gt;I am trying to create a road map, but the main roads have 7-digit ID's that I'm using as labels that have 5 to 4 trailing zeroes, such as the 1800000 road, or the 1917000 road. This obviously creates unnecessarily messy labels and I want to trim off any and all of these trailing zeroes using a label expression. I have absolutely no experience with coding so need help though. Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 01 Jun 2024 06:10:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/remove-trailing-zeroes-from-labels-in-arconline/m-p/1482380#M59487</guid>
      <dc:creator>JustinGeertsen</dc:creator>
      <dc:date>2024-06-01T06:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Remove Trailing Zeroes from Labels in ArcOnline</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/remove-trailing-zeroes-from-labels-in-arconline/m-p/1483188#M59499</link>
      <description>&lt;P&gt;You can use this expression. First it checks if there are five trailing zeros, then it checks if there are four.&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;Replace(Replace($feature.ID, '00000', ''), '0000', '');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2024 13:16:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/remove-trailing-zeroes-from-labels-in-arconline/m-p/1483188#M59499</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2024-06-03T13:16:12Z</dc:date>
    </item>
  </channel>
</rss>

