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.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.