In this article I will share the knowledge of converting a string into URL and manipulating the properties of Uniform Resource Locator (URL).
Let's start 🚀
Scenario 1
We need current pathname from URL of the current webpage to consume it in our appl...