Are you looking to remove the "&" and spaces? If so, I would recommend running the replace method on your initial field. Ex:!<field name>!.replace("&", "")You can then run the rstrip and lstrip methods to remove beginning and ending spaces in fields Line1, Line2, etc. after you run the split method. Ex:!<field name>!.rstrip()!<field name>!.lstrip()
!<field name>!.replace("&", "")
!<field name>!.rstrip()
!<field name>!.lstrip()
!<field name>!.split("^")[0]
!<field name>!.split("^")[1]
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.