var zip = $feature["POSTAL_CODE"]
var aoi = ['28712','28717','28734','28736','28741']
IIF( indexof(aoi, zip ) > 0 ,'1',"")
I'm relatively new to arcade so forgive me I refer to anything incorrectly. Also if any additional information is needed please let me know. This is where I stand:
Thanks
Solved! Go to Solution.
Try subsetting the postal code field:
var zip = Left($feature["POSTAL_CODE"], 5)
That way if there's anything more than 5 digits, you still just get the first 5.
Try subsetting the postal code field:
var zip = Left($feature["POSTAL_CODE"], 5)
That way if there's anything more than 5 digits, you still just get the first 5.
Thanks @jcarlson. Not sure why I didn't think of that.