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.
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
Solved! Go to Solution.
I just tried this and it worked:
Where all my FEC_ID fields had a leading 0....
I just tried this and it worked:
Where all my FEC_ID fields had a leading 0....
thank you
Happy to help- would you mind checking my response as answered?
done... and a big python check mark too ... sometimes they forget
Perfect and simple! Adjusted to remove the first and last characters using the character number count
Thank you! This worked perfect to remove leading two numbers in a field.
This was a great help to me, thank you so much!