So basically I have thousands of street listings that I would like to organize. The street listings are currently stored in one string variable like this:
123 Street dr
123 N Street dr
123 N Street drive
123 Street Drive
123-N Street drive
123 North Street drive
As you can tell, its pretty random. I would really like to have them stored in an object called Location with the following definitions.
int streetNumber;
string direction;
string streetName;
string typeOfStreet;
I am doing this in C# if it matters, I believe its more of a logic question. Is there an easy method of doing this? It doesn't have to be completely perfect, I would like to just get around a 90% success rate and I will just mark off the ones that I have "organized."
Thanks Ahead