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]
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.