<?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 to select a word between parenthesis in a attribute table ? in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692330#M39288</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vince, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please accept my apology for posting to wrong channel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 20:27:46 GMT</pubDate>
    <dc:creator>FatmaŞenol</dc:creator>
    <dc:date>2015-05-07T20:27:46Z</dc:date>
    <item>
      <title>How to select a word between parenthesis in a attribute table ?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692325#M39283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear members, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a quick question and hope if you could kindly share your suggestions. &lt;/P&gt;&lt;P&gt;I'm trying to select words between parenthesis (i.e (&lt;STRONG style="color: #3334ca;"&gt;Izmir&lt;/STRONG&gt;). I've searched Geonet &lt;/P&gt;&lt;P&gt;for this specific task but ended up with no luck. I'm sending the screenshot&lt;/P&gt;&lt;P&gt;of the table.&amp;nbsp; Thank you in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 19:53:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692325#M39283</guid>
      <dc:creator>FatmaŞenol</dc:creator>
      <dc:date>2015-05-07T19:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a word between parenthesis in a attribute table ?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692326#M39284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This forum is for help with GeoNet itself.&amp;nbsp; In order to move this question to the correct forum you'll need to specify what Esri product you are using, the release of that product, and the programming language you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:01:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692326#M39284</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2015-05-07T20:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a word between parenthesis in a attribute table ?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692327#M39285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;edit: the following is to extract the word between parentheses. If you are looking to simply select features based on the word between parentheses, follow Jake's advice below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using Python in field calculator:&lt;/P&gt;&lt;PRE __default_attr="python" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14310288970689290 jive_text_macro" data-renderedposition="92_8_912_16" jivemacro_uid="_14310288970689290"&gt;&lt;P&gt;!Place!.split('(')[1].split(')')[0]&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, split your original string by the character '(', take the second part of that, split it by ')', and take the first part of that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:02:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692327#M39285</guid>
      <dc:creator>DarrenWiens2</dc:creator>
      <dc:date>2015-05-07T20:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a word between parenthesis in a attribute table ?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692328#M39286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Omur,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can accomplish this using a wildcard.&amp;nbsp; For example, to do this with a feature class:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Place LIKE '%(Izmir)%'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the section 'Search Strings' in the below link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://desktop.arcgis.com/en/desktop/latest/map/working-with-layers/building-a-query-expression.htm" title="http://desktop.arcgis.com/en/desktop/latest/map/working-with-layers/building-a-query-expression.htm"&gt;Building a query expression—Help | ArcGIS for Desktop&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:03:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692328#M39286</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-05-07T20:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a word between parenthesis in a attribute table ?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692329#M39287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It has been moved.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692329#M39287</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2015-05-07T20:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a word between parenthesis in a attribute table ?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692330#M39288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vince, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please accept my apology for posting to wrong channel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692330#M39288</guid>
      <dc:creator>FatmaŞenol</dc:creator>
      <dc:date>2015-05-07T20:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a word between parenthesis in a attribute table ?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692331#M39289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Jake, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your suggestion. It worked &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt; . After I posted my original question I realized&lt;/P&gt;&lt;P&gt;that I also need to copy the words between the parenthesis to a new field. Could it be done &lt;/P&gt;&lt;P&gt;using Field Calculator ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:36:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692331#M39289</guid>
      <dc:creator>FatmaŞenol</dc:creator>
      <dc:date>2015-05-07T20:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a word between parenthesis in a attribute table ?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692332#M39290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, after you make the selection use the syntax Darren specified in the field calculator.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;!Place!.split(&lt;SPAN class="string"&gt;'(')[1].split(')')[&lt;SPAN class="number"&gt;0&lt;/SPAN&gt;]&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="string"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="string"&gt;Be sure to check 'Python' at the top of the Field Calculator.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 20:42:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692332#M39290</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-05-07T20:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a word between parenthesis in a attribute table ?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692333#M39291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jake, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help. I just have&amp;nbsp; one more question. How can I&lt;/P&gt;&lt;P&gt;copy all the words&amp;nbsp; between parenthesis not only the selected records ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 21:04:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692333#M39291</guid>
      <dc:creator>FatmaŞenol</dc:creator>
      <dc:date>2015-05-07T21:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to select a word between parenthesis in a attribute table ?</title>
      <link>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692334#M39292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can do this by not having any features selected and using a try/except statement since not all of the rows contain values with parentheses.&amp;nbsp; Ex:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="screen1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/96360_screen1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will try the code, but if the row does not contain any parentheses, it will pass this row rather than creating an error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2015 10:41:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/how-to-select-a-word-between-parenthesis-in-a/m-p/692334#M39292</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2015-05-08T10:41:07Z</dc:date>
    </item>
  </channel>
</rss>

