Select to view content in your preferred language

Writing Custom Label Expressions

421
2
01-26-2021 07:51 AM
ABPotter
New Contributor

I am new to writing expressions. Is there a way for me to write a custom label expression only using part of a parcel number? See part in red. I need to somehow label this part to get a way from annotation if possible.

EX: 

05-49-09-30-0-000-006.000

05-48-08-28-0-000-001.004

0 Kudos
2 Replies
jcarlson
MVP Esteemed Contributor

Yes! I'd recommend spending some time in the Arcade Playground to test the various functions. Something like yours is pretty simple, though:

Right($feature.parcel_number, 7)

Just swap whatever field name in for "parcel_number", and your label will consist of the last 7 characters of the field.

- Josh Carlson
Kendall County GIS
ABPotter
New Contributor

Thank you very much. I will give this a try and check out the arcade playground.