Curt
08-18-2005, 12:42 PM
Has anyone done or does anyone know how to programmatically extract the street names from a Directions(i).Instruction property? I’d like to know just the name of the street. For example:
For “Turn RIGHT (East) onto Paradise Lake Rd, then immediately turn RIGHT (South) onto Bostian Rd”, I’d like to get: “Paradise Lake Rd” and “Bostian Rd”.
For “Turn RIGHT (North-East) onto SR-202 [NE 175th St]”, I’d like to get “NE 175th St”
For “Turn LEFT (North) onto SR-202 [131st Ave NE]”, I’d like to get “131st Ave NE”.
For “Take Ramp (RIGHT) onto SR-522” I’d like to get “SR-522”.
For “Road name changes to Crystal Lake Rd” I’d like to get “Crystal Lake Rd”.
In other words, has anyone figured out the possible formats for this string so they can extract just the street names?
Curt
For “Turn RIGHT (East) onto Paradise Lake Rd, then immediately turn RIGHT (South) onto Bostian Rd”, I’d like to get: “Paradise Lake Rd” and “Bostian Rd”.
For “Turn RIGHT (North-East) onto SR-202 [NE 175th St]”, I’d like to get “NE 175th St”
For “Turn LEFT (North) onto SR-202 [131st Ave NE]”, I’d like to get “131st Ave NE”.
For “Take Ramp (RIGHT) onto SR-522” I’d like to get “SR-522”.
For “Road name changes to Crystal Lake Rd” I’d like to get “Crystal Lake Rd”.
In other words, has anyone figured out the possible formats for this string so they can extract just the street names?
Curt