将给定的字符串以 URL 格式进行编码
UrlString = NetBox.Encoding.UrlEncode(string)
下面的脚本代码:
<%=NetBox.Encoding.URLEncode("[test]")%>
运行结果为:
%5Btest%5D