Hallo,
I have a field with city names and I want to slice the name in the label expression to only the 1st character.
I want to do this in python. looking at the internet i have this but it is not working:
def Label ( [CityName] π
Β Β Β Β s = [CityName]
Β Β Β Β s1 = s[1:]
Β Β Β Β return s1
i am working with arcgis for desktop 10.3.1
greetings Peter