<?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: how can i split a string to the first space  in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550303#M24092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help, this works perfectly for what i need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2018 12:46:59 GMT</pubDate>
    <dc:creator>HugoMorales</dc:creator>
    <dc:date>2018-10-26T12:46:59Z</dc:date>
    <item>
      <title>how can i split a string to the first space</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550298#M24087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to split an address&amp;nbsp;field in arcmap using the field calculator&lt;/P&gt;&lt;P&gt;for example...&lt;/P&gt;&lt;P&gt;2387 Resource Rd. Apartment 34&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i need to get rid of of the first set of numbers (2387)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Resource Rd. Apartment 34&lt;/P&gt;&lt;P&gt;I try using the &lt;STRONG&gt;split / lsplit / rsplit&lt;/STRONG&gt; functions but i am doing something wrong.&amp;nbsp;&lt;/P&gt;&lt;P&gt;any ideas?&lt;/P&gt;&lt;P&gt;thanks for your help in advance.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 19:28:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550298#M24087</guid>
      <dc:creator>COTA_GISAdmin</dc:creator>
      <dc:date>2018-10-25T19:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: how can i split a string to the first space</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550299#M24088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;a &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"first second third"&lt;/SPAN&gt;

a&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;partition&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;
Out&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'first'&lt;/SPAN&gt;&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="string token"&gt;'second third'&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;will get you started&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:48:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550299#M24088</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T23:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: how can i split a string to the first space</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550300#M24089</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;"".join(a.partition(" ")[1:]).strip()
'second third'&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;then use the bits&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:48:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550300#M24089</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T23:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: how can i split a string to the first space</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550301#M24090</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this python expression&lt;/P&gt;&lt;P&gt;' '.join(!ADDRESS!.split(' ')[1:])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Oct 2018 20:30:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550301#M24090</guid>
      <dc:creator>BalajiVeera</dc:creator>
      <dc:date>2018-10-25T20:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: how can i split a string to the first space</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550302#M24091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;partition will answer more questions that a simple split.&amp;nbsp; It is often overlooked&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;a &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"123 Main Street South"&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# ---- partition, slice, and join&lt;/SPAN&gt;

&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;a&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;partition&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="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="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;strip&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

&lt;SPAN class="string token"&gt;'Main Street South'&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;# ---- split,slice, and join&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;""&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;a&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;split&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="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="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'MainStreetSouth'&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;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&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;a = !Address! &amp;nbsp; I use 'a' to represent the field&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:48:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550302#M24091</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-11T23:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: how can i split a string to the first space</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550303#M24092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help, this works perfectly for what i need&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 12:46:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550303#M24092</guid>
      <dc:creator>HugoMorales</dc:creator>
      <dc:date>2018-10-26T12:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: how can i split a string to the first space</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550304#M24093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your time and help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 12:47:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550304#M24093</guid>
      <dc:creator>HugoMorales</dc:creator>
      <dc:date>2018-10-26T12:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: how can i split a string to the first space</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550305#M24094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot ... i really appreciate your time and help... I finally figure out ... using your advice and also using others advice that reply to my question...&amp;nbsp;&lt;/P&gt;&lt;P&gt;this was my first time submitting a question and i was wondering how it will work... i have to say its awesome.&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 13:26:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550305#M24094</guid>
      <dc:creator>HugoMorales</dc:creator>
      <dc:date>2018-10-26T13:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: how can i split a string to the first space</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550306#M24095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad it worked out Hugo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 13:39:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550306#M24095</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-10-26T13:39:34Z</dc:date>
    </item>
    <item>
      <title>Re: how can i split a string to the first space</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550307#M24096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A little late in the game but here's a thread I started a couple years back and still refer back to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/163731"&gt;https://community.esri.com/thread/163731&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 14:06:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-can-i-split-a-string-to-the-first-space/m-p/550307#M24096</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2018-10-26T14:06:35Z</dc:date>
    </item>
  </channel>
</rss>

