AnsweredAssumed Answered

Split error

Question asked by greenk8ty on Aug 5, 2016
Latest reply on Aug 5, 2016 by greenk8ty


Hi there,

 

I'm trying to separate elements of one field, in this case the StreetAddr column.  I'm trying to separate each element of the address into a new column.  I went into ArcCatalog and created new fields in which to calculate the results.  I used the Python split function in field calculator : !StreetAddr!.split(" ")[2] to return the next field and it says my index is out of range.  However that doesn't make sense because there are values that could be returned.  I was able to do this once with the split value being [1] which returned values in the Address1 column...any thoughts? 

 

 

I've attached my table below...

Attachments

Outcomes