AnsweredAssumed Answered

VB or Python script for County label that drops the last word in a field

Question asked by tiamo on May 19, 2014
Latest reply on May 22, 2014 by hua17
I am trying to create labels for a county field name (called "Name") where I drop the last word "county". For example, the Name field has "Los Angeles County" and "Santa Barbara County" and "Ventura County" - but I just want these labels in my map to read: Los Angeles, Santa Barbara, and Ventura. Is there a way to delete the last characters or just drop the whole word County in a script?

Thanks!

Outcomes