Any ideas? I'm using Pro and working in a file gdb.
I would just be easier to create a temporary field
Python.. parser in the field calculator going into a text field
!FirstField![:5] + !SecondField![:5]
then query that field and do what you need with the results.
Or build a query using a logical and
File geodatabases support limited string functions: SQL reference for query expressions used in ArcGIS—ArcGIS Pro | ArcGIS Desktop . Using Select By Attribute tool,
SUBSTRING<SPAN class="punctuation token">(</SPAN>Field1 <SPAN class="keyword token">FROM</SPAN> <SPAN class="number token">1</SPAN> <SPAN class="keyword token">FOR</SPAN> <SPAN class="number token">5</SPAN><SPAN class="punctuation token">)</SPAN> <SPAN class="operator token"><></SPAN> SUBSTRING<SPAN class="punctuation token">(</SPAN>Field2 <SPAN class="keyword token">FROM</SPAN> <SPAN class="number token">1</SPAN> <SPAN class="keyword token">FOR</SPAN> <SPAN class="number token">5</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.