VB is not supported supported on 64-bit ArcGIS products
9522 LANKINEN RD
953 KELLY TRL
address.split(str,{num})str = Any delimiter (space by default)
num = Number of splits to be made (optional)
9522 LANKINEN RD
953 KELLY TRL
address = "9522 LANKINEN RD"
print( address.split(" ") )["9522", "LANKINEN", "RD"]
(Python list of strings)
| Item | "9522" | "LANKINEN" | "RD" |
| Index | 0 | 1 | 2 |
address = "9522 LANKINEN RD"
print( address.split(" ")[1] )"LANKINEN"
address = "9522 LANKINEN RD"
print( address.split(" ",1) )["9522", "LANKINEN RD"]
(Python list of strings)
| Item | "9522" | "LANKINEN RD" |
| Index | 0 | 1 |
address = "9522 LANKINEN RD"
print( address.split(" ",1)[1] )"LANKINEN RD"
!STREETNAME!.split(" ",1)[1]
!STREETNAME!.split(" ",1)[1]
www.codecademy.com/learn/python
Python Scripting for ArcGIS
Paul A. Zandbergen
Python _________?
samg@northpointgis.com
218.720.67.47 ext 4