<?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: LTrim operator in Python in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/ltrim-operator-in-python/m-p/783716#M1292</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Oct 2019 15:41:11 GMT</pubDate>
    <dc:creator>SLouq</dc:creator>
    <dc:date>2019-10-31T15:41:11Z</dc:date>
    <item>
      <title>LTrim operator in Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/ltrim-operator-in-python/m-p/783714#M1290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the conversion in Python for LTrim and RTrim?&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;I would like to use them in my Field Calculator in ArcGIS Pro but they are not there&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 14:36:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/ltrim-operator-in-python/m-p/783714#M1290</guid>
      <dc:creator>SLouq</dc:creator>
      <dc:date>2019-10-31T14:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: LTrim operator in Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/ltrim-operator-in-python/m-p/783715#M1291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Scott,&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;I think you are looking for rstrip() and lstrip().&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;ArcGIS Pro field calculator:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;IMG __jive_id="471077" alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/471077_rstrip_arcgis.PNG" /&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Python example:&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;IMG __jive_id="471078" alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/471078_rstrip_python.PNG" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 15:26:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/ltrim-operator-in-python/m-p/783715#M1291</guid>
      <dc:creator>Per_Åke_MattiasWallin</dc:creator>
      <dc:date>2019-10-31T15:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: LTrim operator in Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/ltrim-operator-in-python/m-p/783716#M1292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 15:41:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/ltrim-operator-in-python/m-p/783716#M1292</guid>
      <dc:creator>SLouq</dc:creator>
      <dc:date>2019-10-31T15:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: LTrim operator in Python</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/ltrim-operator-in-python/m-p/783717#M1293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Another question.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;I am trying to use the Mid() function in the field calculator.&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;!STR_NAME!.Mid(5, 20)&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;but it gives me a throwback error when I Run it&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;&lt;/P&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;P&gt;Can someone tell me why?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2019 16:18:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/ltrim-operator-in-python/m-p/783717#M1293</guid>
      <dc:creator>SLouq</dc:creator>
      <dc:date>2019-10-31T16:18:41Z</dc:date>
    </item>
  </channel>
</rss>

