In the label field are parenthesis and since ARCADE uses parenthesis i can't figure out how to represent them as text.
function FindLabel ( [FIELDNAMEl] )
return [FIELDNAME].replace(/::/g, "\n").replace(/ *\([^)]*\) */g, "");
In ARCADE I currently have the label expression looking like this:
Replace($feature.FIELDNAME, '/::/g/ *\([^)]*\) */g', " " )
Parenthesis need to be removed from the label as well, which should remove the street name, for example, (W 34TH ST).
All types of characters should be replaced with nothing. I want to minimize code as well.