<?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 have a number and string format in the same field show in the same popup using Arcade. in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/how-to-have-a-number-and-string-format-in-the-same/m-p/1323241#M54188</link>
    <description>&lt;P&gt;Hello there I have seem to come into an issue regarding an arcade popup. Within the same field in an attribute table there is both a nine digit number that needs to be formatted like (000-000-000) and a string value that does not need to be formatted in that sequence. Is there any arcade expressions that I could use to help me solve this issue so the pop up does not appear like it does in figure 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aduyvesteyn_0-1693262845534.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79333iB0AED03DEBF046F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aduyvesteyn_0-1693262845534.png" alt="aduyvesteyn_0-1693262845534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Figure 1. Attribute table example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aduyvesteyn_1-1693262995116.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79334i4293DAD631290302/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aduyvesteyn_1-1693262995116.png" alt="aduyvesteyn_1-1693262995116.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Figure 2. Pop up Formatting issues&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and I appreciate your feedback.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 28 Aug 2023 22:50:43 GMT</pubDate>
    <dc:creator>aduyvesteyn</dc:creator>
    <dc:date>2023-08-28T22:50:43Z</dc:date>
    <item>
      <title>How to have a number and string format in the same field show in the same popup using Arcade.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-have-a-number-and-string-format-in-the-same/m-p/1323241#M54188</link>
      <description>&lt;P&gt;Hello there I have seem to come into an issue regarding an arcade popup. Within the same field in an attribute table there is both a nine digit number that needs to be formatted like (000-000-000) and a string value that does not need to be formatted in that sequence. Is there any arcade expressions that I could use to help me solve this issue so the pop up does not appear like it does in figure 2.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aduyvesteyn_0-1693262845534.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79333iB0AED03DEBF046F2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aduyvesteyn_0-1693262845534.png" alt="aduyvesteyn_0-1693262845534.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Figure 1. Attribute table example&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="aduyvesteyn_1-1693262995116.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79334i4293DAD631290302/image-size/medium?v=v2&amp;amp;px=400" role="button" title="aduyvesteyn_1-1693262995116.png" alt="aduyvesteyn_1-1693262995116.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Figure 2. Pop up Formatting issues&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you and I appreciate your feedback.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Aug 2023 22:50:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-have-a-number-and-string-format-in-the-same/m-p/1323241#M54188</guid>
      <dc:creator>aduyvesteyn</dc:creator>
      <dc:date>2023-08-28T22:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to have a number and string format in the same field show in the same popup using Arcade.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-have-a-number-and-string-format-in-the-same/m-p/1323329#M54194</link>
      <description>&lt;LI-CODE lang="javascript"&gt;var txt = $feature.TextField1
if(IsNaN(Number(txt))) { return txt }
var parts = [
  Left(txt, 3),
  Mid(txt, 3, 3),
  Right(txt, 3)
]
return Concatenate(parts, "-")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_0-1693293991369.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79353i04E764E93878A2A9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_0-1693293991369.png" alt="JohannesLindner_0-1693293991369.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JohannesLindner_1-1693294034955.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/79354i34C326AE6898DB52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JohannesLindner_1-1693294034955.png" alt="JohannesLindner_1-1693294034955.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 07:27:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-have-a-number-and-string-format-in-the-same/m-p/1323329#M54194</guid>
      <dc:creator>JohannesLindner</dc:creator>
      <dc:date>2023-08-29T07:27:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to have a number and string format in the same field show in the same popup using Arcade.</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/how-to-have-a-number-and-string-format-in-the-same/m-p/1323537#M54213</link>
      <description>&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 16:19:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/how-to-have-a-number-and-string-format-in-the-same/m-p/1323537#M54213</guid>
      <dc:creator>aduyvesteyn</dc:creator>
      <dc:date>2023-08-29T16:19:30Z</dc:date>
    </item>
  </channel>
</rss>

