ASP URLEncode 메서드
❮ 전체 서버 개체 참조
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
❮ 전체 서버 개체 참조