Hello!
I have this repetitive "RO." and I want to delete but keep "AB, AR, AG, BC ... etc". How can I do that?
Yep. Calculate Field is what you want. For variety, here's the Python equivalent.
!HASC_1!.replace("RO.", "")
@Sebastian-VlăduțCristeaI moved this to be its own question because that thread was posted back in 2016.
To remove the RO. you can use an update cursor:
with arcpy.da.UpdateCursor(fc, ['HASC_1']) as uCur: for row in uCur: row[0] = row[0].split('.')[-1] uCur.updateRow(row)
updatecursor-class.htm
Try a field calculator.
In Arcade:
Replace($feature.HASC_1, "RO.", "")
Test on one record before doing the whole table.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.