I got table field from the county and I just want to extract city from the addresses provided, I don't have any python background.
sample table field situs_addr:
123 street name, city state zip
45 street and street, city state zip
1000 street blvd, city name state zip
I successfully got the address number with street name separated using "split"
!<SPAN>s</SPAN><SPAN>itus_addr</SPAN>!<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">.</SPAN>split<SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">(</SPAN><SPAN class="" style="color: #669900; border: 0px; font-weight: inherit;">','</SPAN><SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">)</SPAN><SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">[</SPAN><SPAN class="" style="color: #990000; border: 0px; font-weight: inherit;">0</SPAN><SPAN class="" style="color: #999999; border: 0px; font-weight: inherit;">]</SPAN>
but I'm having a hard time figuring out how to extract just the city, since the length of each addresses are different.
Thank you!