Metoda ASP URLEncode
❮ Kompletní Reference Server Object Reference
Metoda URLEncode aplikuje pravidla kódování URL na zadaný řetězec.
Syntax
Server.URLEncode(string)
Parameter | Description |
---|---|
string | Required. The string to encode |
Příklad
<%
response.write(Server.URLEncode("https://www.w3schools.com"))
%>
Output:
https%3A%2F%2Fwww%2Ew3schools%2Ecom
❮ Kompletní Reference Server Object Reference