<?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 Removing text after comma in ArcMap Questions</title>
    <link>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330224#M747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field contains owners name&lt;/P&gt;&lt;P&gt;Doe, John and Jane&lt;/P&gt;&lt;P&gt;I am trying to remove everything so just the last name shows&lt;BR /&gt;Doe&lt;/P&gt;&lt;P&gt;I have tried several codes but nothing is working so far. I have Desktop 10.4&lt;/P&gt;&lt;P&gt;Could anyone give me some help please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 18 Sep 2018 20:27:38 GMT</pubDate>
    <dc:creator>MelissaDrake</dc:creator>
    <dc:date>2018-09-18T20:27:38Z</dc:date>
    <item>
      <title>Removing text after comma</title>
      <link>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330224#M747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field contains owners name&lt;/P&gt;&lt;P&gt;Doe, John and Jane&lt;/P&gt;&lt;P&gt;I am trying to remove everything so just the last name shows&lt;BR /&gt;Doe&lt;/P&gt;&lt;P&gt;I have tried several codes but nothing is working so far. I have Desktop 10.4&lt;/P&gt;&lt;P&gt;Could anyone give me some help please?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Sep 2018 20:27:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330224#M747</guid>
      <dc:creator>MelissaDrake</dc:creator>
      <dc:date>2018-09-18T20:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Removing text after comma</title>
      <link>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330225#M748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guessing you are using the field calculator, add a little Pre-Logic code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def justname(txt):
&amp;nbsp;&amp;nbsp; return txt[0: txt.find(',')]&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Field calculator " class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/422362_snip_20180918231201.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:20:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330225#M748</guid>
      <dc:creator>HåkonDreyer</dc:creator>
      <dc:date>2021-12-12T16:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Removing text after comma</title>
      <link>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330226#M749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;python parser in the field calculator, no need for a codeblock if it is a text field&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;!YourFieldName!&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;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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 01:27:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330226#M749</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-09-19T01:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Removing text after comma</title>
      <link>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330227#M750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! It worked&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 18:32:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330227#M750</guid>
      <dc:creator>MelissaDrake</dc:creator>
      <dc:date>2018-09-19T18:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Removing text after comma</title>
      <link>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330228#M751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! I really appreciated the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Sep 2018 18:35:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcmap-questions/removing-text-after-comma/m-p/330228#M751</guid>
      <dc:creator>MelissaDrake</dc:creator>
      <dc:date>2018-09-19T18:35:00Z</dc:date>
    </item>
  </channel>
</rss>

