I have a dataset with a "Streetname" field that I would like to label with the name portion (shown as uppercase) but not the designation portion (lowercase). I'm sure that this can be accomplished with a label expression however I opted to create an addition "Label" field with the intention of populating it with a filtered version of the "Streetname" field. I thought I had a handle on how to accomplish this but obviously I am missing something important. Can anyone shed some light on this for me please? ArcGIS Pro 2.8.3
Try
''.join(filter(str.isupper, !STREETNAME!))
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.