Select to view content in your preferred language

Array of Addresses - popup expression

113
2
02-14-2025 07:45 PM
Labels (1)
VirginiaRobenski
New Contributor

I am working in on a Portal map, creating a pop-up.

I have an array of addresses. 

Each address varies in lengths, and some have blanks I'm trying to remove.

I am trying to loop through the Array and remove all empty elements.

Anyone have suggestions on how to do this? I can't seem to get it to work with IsEmpty and Erase

 

0 Kudos
2 Replies
gis_KIWI4
Frequent Contributor

@VirginiaRobenski - Are you able to share the arcade code? 
We have used IsEmpty() and it works. 
Also when you say you can't get it to work, is it the pop up that doesn't work or code fails to remove the blanks? 

0 Kudos
KenBuja
MVP Esteemed Contributor

And it would be helpful to see how your data is formatted and what you'd like the output to look like.

0 Kudos