>>> addresses = ['1919 LAWSON RD','919 PRINCE CHARLES LN','1437-1455 PAYNE RD','407 N BRAINTREE DR'] >>> for address in addresses: address.split(' ') ['1919', 'LAWSON', 'RD'] ['919', 'PRINCE', 'CHARLES', 'LN'] ['1437-1455', 'PAYNE', 'RD'] ['407', 'N', 'BRAINTREE', 'DR'] >>> >>> for address in addresses: address.split(' ', 1) ['1919', 'LAWSON RD'] ['919', 'PRINCE CHARLES LN'] ['1437-1455', 'PAYNE RD'] ['407', 'N BRAINTREE DR'] >>>
arcpy.CalculateField_management("your fc or tbl", "your num add fld", '!your orig add fld!.split(" ")[0]', "PYTHON_9.3")
arcpy.CalculateField_management("your fc or tbl", "your txt add fld", '!your orig add fld!.split(" ")[1]', "PYTHON_9.3")
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.