w3pop.com :: 网络学院 :: ASP :: ASP URLEncode 方法
The URLEncode method applies URL encoding rules to a specified string.
ASP URLEncode方法的作用是将URL转换为指定的字符串代码
Server.URLEncode(string) |
| Parameter 参数 |
Description 描述 |
|---|---|
| string | Required. The string to encode 必要参数。转换为字符串代码。 |
<%
response.write(Server.URLEncode("http://www.w3schools.com"))
%>
Output: http%3A%2F%2Fwww%2Ew3schools%2Ecom |
评论 (0)
All