Select to view content in your preferred language

Find Numeric value

1861
5
10-20-2016 10:22 PM
kapildev
Occasional Contributor

Hi,

I want to select those records who's start with numeric value in Arcgis10.2. could you please suggest me.

Thanks in advance

0 Kudos
5 Replies
JayantaPoddar
MVP Esteemed Contributor

In Select by Attributes, try

Name >= '0' AND Name < ':'

where Name is the FieldName

http://www.asciitable.com/ 



Think Location
DanPatterson_Retired
MVP Emeritus
name = '0.ab'
>>> name[0].isnumeric()
True‍‍‍

In python....

as a demo... since technically a field beginning with a '.' doesn't begin with a number

JayantaPoddar
MVP Esteemed Contributor

Thanks for the python snippet. Actually I mentioned a colon, which comes right after the value of 9 in ASCII Table.



Think Location
DanPatterson_Retired
MVP Emeritus

old eyes... . :  are starting to look alike 

kapildev
Occasional Contributor

Thanks for support....

0 Kudos