Path.Combine for Urls?
- by Brian MacKay
Path.Combine is handy, is there a similiar function in the framework for Urls?
I'm looking for syntax like this:
Url.Combine("Http://MyUrl.com/", "/Images/Image.jpg")
...Which would return: "Http://MyUrl.com/Images/Image.jpg"
...Of course string concatenation would be fine here since the '//' would be handled intelligently by the browser. But…