<?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: Split and Rearrange Text With Arcade? in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/274554#M1752</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's no comma just spaces, but this works. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 May 2019 17:19:37 GMT</pubDate>
    <dc:creator>deleted-user-1_r2dgYuILKY</dc:creator>
    <dc:date>2019-05-01T17:19:37Z</dc:date>
    <item>
      <title>Split and Rearrange Text With Arcade?</title>
      <link>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/274552#M1750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have fields with names in the format last, first, middle initial. I would like to display them as first, ME, last. Is this possible in Arcade using the Split function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 16:00:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/274552#M1750</guid>
      <dc:creator>deleted-user-1_r2dgYuILKY</dc:creator>
      <dc:date>2019-05-01T16:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: Split and Rearrange Text With Arcade?</title>
      <link>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/274553#M1751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How is your data formatted? If it's in a field as "Smith, John A" then you can use&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; arrName &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;split&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;$feature&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;name&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;","&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; arrName&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;" "&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; arrName&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;This returns "John A Smith"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:23:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/274553#M1751</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T13:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Split and Rearrange Text With Arcade?</title>
      <link>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/274554#M1752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There's no comma just spaces, but this works. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 17:19:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/274554#M1752</guid>
      <dc:creator>deleted-user-1_r2dgYuILKY</dc:creator>
      <dc:date>2019-05-01T17:19:37Z</dc:date>
    </item>
    <item>
      <title>Re: Split and Rearrange Text With Arcade?</title>
      <link>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/274555#M1753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to help. Don't forget to click the "Mark Correct" button.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 May 2019 17:27:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/274555#M1753</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2019-05-01T17:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Split and Rearrange Text With Arcade?</title>
      <link>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/1034123#M5789</link>
      <description>&lt;P&gt;I have created a Cell_ID field to store grid index values in a road feature class. For example, if Main St. falls within grid cells B1, B2, C2 &amp;amp; C3, my Cell_ID field is populated with "C3,B2,C2,B1". Is there any way for me to reorder the values alphabetically and then numerically as B1, B2, C2 &amp;amp; C3?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SarahHartholt_1-1615233645324.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/7856iA6AB3D72CABA00D7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SarahHartholt_1-1615233645324.png" alt="SarahHartholt_1-1615233645324.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solved my problem below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;var arrName = split($feature.Cell_ID, ",")
return concatenate(sort(arrName))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Mar 2021 21:00:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/split-and-rearrange-text-with-arcade/m-p/1034123#M5789</guid>
      <dc:creator>SarahHartholt</dc:creator>
      <dc:date>2021-03-08T21:00:50Z</dc:date>
    </item>
  </channel>
</rss>

