I am new to python.
I have encountered this situation, with about 1,000 street names that look like this in the single streetname field of my feature class:
San Marino Dr
El Cajon St
San Andreas St
How do I split "San Marino Dr" into 2 separate fields, one field will contain "San Marino" and the other field will contain "Dr"? Would it be easier to do a field calculate on each of the two fields I plan to split the streetname into?
Doing a field calculate on a new empty field named Street1, here is where I get stuck:
!Street_Name!.split(" ")[0]
This will give me "San", but how do I get "Marino"?
My second related question, where do I find a good Pro Resource for showing how to use ".split()" in Python?