I am trying to figure out how to remove the SECONDARYN street name from the IntersectionList field so that I'm only left with the street names other than what's in the SECONDARYN field. I've attached a screenshot here. I'm very, very new to Python so I would love some feedback and guidance on completing this task.
http://i.imgur.com/plSSOHU.png
The image isn't opening in my browser (Edge for Windows 10)
Is this better?
conceptually
>>> a = "ALTAVISA LOOP" >>> b = "ALTAVISA LOOP & more stuff" >>> c = b.replace(a+" & ","") >>> c 'more stuff' >>>
in terms of field calculator stuff add a new field and give it new name and do the calculations in it
ie NewList
use the python parser and the following expression in the field calculator
!IntersectionList!.replace(!SECONDARYN! + " & ", "")
If every record holds to the given format
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.