if ',' in !TAX_NAME! then !NEW_FIELD!=!TAX_NAME!.split(',',1)[-1] else "".
if ',' in !TAX_NAME! then !TAX_NAME!.split(',',1)[-1] else ""
text = '28, king road, new york' split_text = text.split(', ') # -> ['28', 'king road', 'new york']
If you want to write new data to the table you would need to use an update cursor (not a search cursor). Also, you have to use cursor syntax, not field calculator syntax.
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.