Trying to make a label Expression that just returns any number in a field, doesnt need to be any specfic data type just tying to get the label to only display numbers so I can put that number on a highway shield.
My python snippet works in one of my maps, but not the other even though they are the same dataset in the same GDB.
Here is my code:
int(''.join(filter(str.isdigit, [FULLNAME])))
The error I receive from the non-working map:
ValueError: invalid literal for int() with base 10: "
The field type is string for both.