Hello
I'm running arcmap 10.4. I have 5k entries of 'FEC_IDCODE' with 01234 and I need the first 0 deleted. I have tried to google search and edit various scripts to delete the first letter of a text field. I've tried the codes and advice from the listed websites. All I've gotten is error codes with each try. What am I doing wrong.
arcgis 10.0 - Delete first two letters from a string field - Geographic Information Systems Stack Exchange
qgis - How to remove a certain number of digits from the front or end of an attribute field? - Geographic Information Sy…
Field Calculator- Delete last 3 text characters
How to remove first character from every row of an attribute field
https://community.esri.com/thread/21358
I just tried this and it worked:
Where all my FEC_ID fields had a leading 0....
Thank you! This worked perfect to remove leading two numbers in a field.
Perfect and simple! Adjusted to remove the first and last characters using the character number count
This was a great help to me, thank you so much!
done... and a big python check mark too ... sometimes they forget
Happy to help- would you mind checking my response as answered?
thank you
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.