Hello, I simply need to truncate (remove) some leading characters with the Field Calculator, but can't recall which Python command I need to use. The purpose is to create a common field to Join Census Data with TIGER. See below:
Depending on your naming scheme:
# if it's always the same start: !GeoID!.replace("1000000US", "") # if the number can change: !GeoID!.split("US")[-1]
Ah yes, "Replace" -- thanks!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.