Select to view content in your preferred language

Help with Arcade Expression

480
1
02-21-2023 08:39 AM
Labels (1)
BrianE1
Frequent Contributor

I have built a custom locator that returns the Address and also the borough in the "Match_addr" field. So, when labeled it appears lihe this:

200 Fifth Avenue: Manhattan

I'd like to to just have the address without the borough.  SO, like this:

200 Fifth Avenue

Can anyone help me with this?

Tags (1)
0 Kudos
1 Reply
JohannesLindner
MVP Alum
var address = "200 Fifth Avenue: Manhattan"
return Split(address, ":")[0]

Have a great day!
Johannes
0 Kudos