The escape () function is responsible for coding a string so as to make the transfer of the information from one computer to the other, across a network.
For Example:
Output: Hello%3F%20How%20are%20you%21
The unescape() function is very important as it decodes the coded string.
It works in the following way. For example:
Output: Hello? How are you!