URL split? in C#?
<p>I have a url like "site.com/page?a=1&amp;ret=/user/page2"
I was using string.split('/') to figure out the paths but this case you can see it isnt very useful. How do i split the url so i can get the page path? (if no one gives me an answer i'll split yet again using '?')</p>
