how to remove special character(-) from the url if the last character is - in url..
here is my one line code
here i replace the empty space with - but how to remove the last element i.e -
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 attend4days leftRegister
Nikhil SanganiRank #2,102 · 681 reputationPosted Sep 3, 2016, 12:03 AM EDT