0

The following python expression can trim street addresses for labeling in ArcMap. I need to convert the expression to Arcade so I can retain the same labeling scheme when pushing my feature layer online.

def FindLabel ( [PropertyAd] ):
  import re
  output = re.sub("[^0-9 ]", "", [PropertyAd] )
  return output
  return [PropertyAd] 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.