常用函数
HTMLEncode
HTMLEncode用于对字符串进行HTML编码,例如:
Dim
v As
String =
"1 + 2 <> 3"
Output.Show(HTMLEncode(v))
显示结果为:
1 + 2 <> 3
HTMLEncode
HTMLDecode用于对字符串进行HTML解码,例如:
Dim
v As
String =
"1 + 2 <> 3"
Output.Show(HTMLDecode(v))