<?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: Strip database.DBO from name in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/strip-database-dbo-from-name/m-p/513950#M40345</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.. New it had to be simpler.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 02 Mar 2013 02:52:12 GMT</pubDate>
    <dc:creator>MarkPaulson</dc:creator>
    <dc:date>2013-03-02T02:52:12Z</dc:date>
    <item>
      <title>Strip database.DBO from name</title>
      <link>https://community.esri.com/t5/python-questions/strip-database-dbo-from-name/m-p/513948#M40343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Newbie to python and I was wondering if there is a way to remove &lt;/SPAN&gt;&lt;STRONG&gt;database.DBO.&lt;/STRONG&gt;&lt;SPAN&gt; from &lt;/SPAN&gt;&lt;STRONG&gt;database.DBO.feature&lt;/STRONG&gt;&lt;SPAN&gt;. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;feature = database.DBO.feature[13:] works, but seems a little of a kludge.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 21:51:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/strip-database-dbo-from-name/m-p/513948#M40343</guid>
      <dc:creator>MarkPaulson</dc:creator>
      <dc:date>2013-03-01T21:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Strip database.DBO from name</title>
      <link>https://community.esri.com/t5/python-questions/strip-database-dbo-from-name/m-p/513949#M40344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Newbie to python and I was wondering if there is a way to remove &lt;STRONG&gt;database.DBO.&lt;/STRONG&gt; from &lt;STRONG&gt;database.DBO.feature&lt;/STRONG&gt;. &lt;BR /&gt;feature = database.DBO.feature[13:] works, but seems a little of a kludge.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This should do it&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
feature = database.DBO.feature

new_name = feature.split('.')[-1]
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[-1] is the last item in the list, which is what comes after the last period.&amp;nbsp; This should return 'feature'.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:28:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/strip-database-dbo-from-name/m-p/513949#M40344</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-11T22:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Strip database.DBO from name</title>
      <link>https://community.esri.com/t5/python-questions/strip-database-dbo-from-name/m-p/513950#M40345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks.. New it had to be simpler.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 Mar 2013 02:52:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/strip-database-dbo-from-name/m-p/513950#M40345</guid>
      <dc:creator>MarkPaulson</dc:creator>
      <dc:date>2013-03-02T02:52:12Z</dc:date>
    </item>
  </channel>
</rss>

