I have a url
string url="http://www.xyz.com/forums/AddPost/NewPost/Hello";
I want to replace last three slash(/) from the url with comma(,).
I want url like this
http://www.xyz.com/forums,AddPost,NewPost,Hello
Please Solve my problam.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Ajeesh174 reputationPosted Jan 18, 2018, 10:01 AM EST