I have an address field containing the following text: "64,ramkoti,hyderabad,500070"
I need to copy hyderabad to another field.
What would be the code used in the field calculator tool to achieve this?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
Use python parser and split:
def splitit(somefield): return somefield.split(',') #2 is index for third word