एएसपी यूआरएलएनकोड विधि
❮ पूरा सर्वर वस्तु संदर्भ
URLEncode विधि URL एन्कोडिंग नियमों को एक निर्दिष्ट स्ट्रिंग पर लागू करती है।
वाक्य - विन्यास
Server.URLEncode(string)
Parameter | Description |
---|---|
string | Required. The string to encode |
उदाहरण
<%
response.write(Server.URLEncode("https://www.w3schools.com"))
%>
Output:
https%3A%2F%2Fwww%2Ew3schools%2Ecom
❮ पूरा सर्वर वस्तु संदर्भ