Thanks for looking into my post, well I been scratching my head for a long time now the requirement which sound pretty simple turned out to be a tough one, below is the requirement....
I need to seprate (Street Number, Street Name, Suite\Apt information or any zip found)
Address looks like this
1) 123 Main St
2) 123 NW.17 St
3) One Washington Way, Suite 405
4) 1 Governement Dr #400, Washington, 01211
So far I was able to seprate out 123 Main St, but whenever I go further using Char\Pat index in my string the address from above line 2 gets scramblled such as it becomes (123 NW St)
My main gole is to break htis string and put it in a table and then concatinate.....
Any help would be much appreciated.
I've been through this before. It's a real PITA. My recommendation is to buy some CASS certification software and, because they've actually seen it all, will be a lot more successful at it that any home-grown solution you or I could write. They also have the advantage of knowing every street name in the U.S. and all of its territories.
is pronounced ree-bar and is a Modenism for R
First step towards the paradigm shift of writing Set Based code: Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
Although they tell us that they want it real bad, our primary goal is to ensure that we dont actually give it to them that way.
Although change is inevitable, change for the better is not.
Just because you can do something in PowerShell, doesnt mean you should. Helpful Links:
How to post code problemsHow to post performance problemsForum FAQs