Path.Combine for URLs?
-
Path.Combine is handy, but is there a similar function in the .NET 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"
Thank you
Saanvi S
-
according to this post there is no good alternative with the same behaviour of
Path.Combine
when dealing with URLs. But probably there is some alternative in the post that you will find useful for you.