<?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: Custom parse Python string  in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789205#M5320</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I see how you put this in?&amp;nbsp; I can't get mine to work.&amp;nbsp; I am also doing this in ArgGIS Pro, not sure if that will make a difference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2019 15:14:17 GMT</pubDate>
    <dc:creator>JeremyMcCollum1</dc:creator>
    <dc:date>2019-03-18T15:14:17Z</dc:date>
    <item>
      <title>Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789197#M5312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an attribute field that has a description that I only want to display a specific string or text.&amp;nbsp; I'm not sure if using a rsearch or rfind or another method for displaying what I want is best? For example, the text field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H6 style="text-align: left;"&gt;&lt;STRONG&gt;&amp;nbsp;VILLAGES OF WOODLAND SPRINGS BLOCK 44 LOT 4&lt;/STRONG&gt;&lt;/H6&gt;&lt;TABLE style="float: left;"&gt;&lt;TBODY&gt;&lt;TR style="height: 25px;"&gt;&lt;TD style="height: 25px;"&gt;&lt;STRONG&gt;FIVE OAKS CROSSING ADDN BLOCK 1 LOT 6 PER PLAT D214124070&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE style="width: 422px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="width: 416px; text-align: left;"&gt;&lt;H6&gt;&lt;STRONG&gt;SUMMER CREEK SOUTH ADDITION BLOCK 8 LO&lt;/STRONG&gt;T 3&lt;/H6&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;BR /&gt;I am only wanting to pull out the Block and block number and Lot and Lot number&lt;/P&gt;&lt;P&gt;thanks for any advice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Mar 2019 21:47:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789197#M5312</guid>
      <dc:creator>JeremyMcCollum1</dc:creator>
      <dc:date>2019-03-12T21:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789198#M5313</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;&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; re
&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;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt; strings &lt;SPAN class="operator 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;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;     &lt;SPAN class="string token"&gt;"VILLAGES OF WOODLAND SPRINGS BLOCK 44 LOT 4"&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;     &lt;SPAN class="string token"&gt;"FIVE OAKS CROSSING ADDN BLOCK 1 LOT 6 PER PLAT D214124070"&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;     &lt;SPAN class="string token"&gt;"SUMMER CREEK SOUTH ADDITION BLOCK 8 LOT 3"&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;
&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="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; 
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; s &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; strings&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;     &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;re&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;findall&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'(BLOCK|LOT) (\S*) ?'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;s&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;&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;'BLOCK'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'44'&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;'LOT'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'4'&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;&lt;SPAN class="string token"&gt;'BLOCK'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string 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;'LOT'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'6'&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;&lt;SPAN class="string token"&gt;'BLOCK'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'8'&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;'LOT'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'3'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="operator token"&gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;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;/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;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:01:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789198#M5313</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2021-12-12T09:01:23Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789199#M5314</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A fake field and a function to try with the field calculator, python parser,&lt;/P&gt;&lt;P&gt;code block is below.&lt;/P&gt;&lt;P&gt;expression line &amp;nbsp;&lt;/P&gt;&lt;P&gt;do_stuff(!YourFieldNameHere!)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lines 14-16 simulate a fake column 'a'&lt;/P&gt;&lt;P&gt;hopefully you get the drift. I wrote it as overtly as possible&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="punctuation token"&gt;[&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'VILLAGES OF WOODLAND SPRINGS BLOCK 44 LOT 4'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'FIVE OAKS CROSSING ADDN BLOCK 1 LOT 6 PER PLAT D214124070'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
&lt;SPAN class="string token"&gt;'SUMMER CREEK SOUTH ADDITION BLOCK 8 LOT 3'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;

&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;do_stuff&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;a_val&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="string token"&gt;"""call using do_stuff(!Your_fld!)"""&lt;/SPAN&gt;
    row &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; a_val&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;
    idx0 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; row&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;index&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'BLOCK'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    idx1 &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; row&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;index&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'LOT'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    out &lt;SPAN class="operator token"&gt;=&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;row&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;idx1&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;idx1&lt;SPAN class="operator 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="operator token"&gt;+&lt;/SPAN&gt; row&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;idx0&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;idx0&lt;SPAN class="operator 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="keyword token"&gt;return&lt;/SPAN&gt; out
    

&lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; a_val &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; a&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    returned &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; do_stuff&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;a_val&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;returned&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    
LOT &lt;SPAN class="number token"&gt;4&lt;/SPAN&gt; BLOCK &lt;SPAN class="number token"&gt;44&lt;/SPAN&gt;
LOT &lt;SPAN class="number token"&gt;6&lt;/SPAN&gt; BLOCK &lt;SPAN class="number token"&gt;1&lt;/SPAN&gt;
LOT &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; BLOCK &lt;SPAN class="number token"&gt;8&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;/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789199#M5314</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2021-12-12T09:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789200#M5315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My example that I used actually has lots and lots of blocks and lots with numbers, what could I use to grab them all?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 14:10:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789200#M5315</guid>
      <dc:creator>JeremyMcCollum1</dc:creator>
      <dc:date>2019-03-13T14:10:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789201#M5316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;show an example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is the stuff in a table (see the field calculator example I posted) or what format are they in?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 19:28:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789201#M5316</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-03-13T19:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789202#M5317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/439373_leagal_descr_attributes.JPG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 20:07:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789202#M5317</guid>
      <dc:creator>JeremyMcCollum1</dc:creator>
      <dc:date>2019-03-13T20:07:10Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789203#M5318</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;legaldesc is the attribute field that I am looking to do this on&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Mar 2019 20:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789203#M5318</guid>
      <dc:creator>JeremyMcCollum1</dc:creator>
      <dc:date>2019-03-13T20:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789204#M5319</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add a new text field and try the field calculator code block and expression I posted.&amp;nbsp; python parser code block as above and the expression would be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #d74444; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;do_stuff&lt;/SPAN&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #999999; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;(!&lt;SPAN style="color: #b00000; font-family: monospace; background-color: #f5f2f0;"&gt;legaldesc!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="border-image-outset: 0; border-image-repeat: stretch; border-image-slice: 100%; border-image-source: none; border-image-width: 1; color: #999999; font-family: inherit; font-size: 100%; font-style: inherit; font-variant: normal; font-weight: inherit; letter-spacing: normal; orphans: 2; outline-color: invert; outline-style: none; outline-width: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; vertical-align: baseline; -webkit-text-stroke-width: 0px; white-space: pre; word-spacing: 0px; padding: 0px; margin: 0px; border: 0px none currentColor;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Mar 2019 00:26:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789204#M5319</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-03-14T00:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789205#M5320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can I see how you put this in?&amp;nbsp; I can't get mine to work.&amp;nbsp; I am also doing this in ArgGIS Pro, not sure if that will make a difference&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 15:14:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789205#M5320</guid>
      <dc:creator>JeremyMcCollum1</dc:creator>
      <dc:date>2019-03-18T15:14:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789206#M5321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;for the visual types...&lt;/P&gt;&lt;P&gt;I swapped the code block up so block appears before lot (my bad in the original)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image" height="490" src="https://community.esri.com/legacyfs/online/439754_field_calc08.png" width="458" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 15:38:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789206#M5321</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-03-18T15:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789207#M5322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent, it finally did work!&amp;nbsp; I have some cleanup now.&amp;nbsp; Can I add another index to the code to include spaces? For example, there are some of the legaldesc field texts that say BL OCK or B LOCK that have random spaces.&amp;nbsp; Trying now to account for them.&amp;nbsp; Great help thought to get this far&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 21:18:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789207#M5322</guid>
      <dc:creator>JeremyMcCollum1</dc:creator>
      <dc:date>2019-03-18T21:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Custom parse Python string</title>
      <link>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789208#M5323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeremy you might want to mark mine correct.&lt;/P&gt;&lt;P&gt;Now for the ones with the spaces, you will have to modify indx0 for those cases&lt;/P&gt;&lt;P&gt;for example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;idx0 = row.index('BL OCK')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2019 21:27:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/custom-parse-python-string/m-p/789208#M5323</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2019-03-18T21:27:36Z</dc:date>
    </item>
  </channel>
</rss>

