ASP用文本域添加文本后,如何让文本按原来的格式显示
<%
function htmlcode(str)
str=replace(str,chr(13),"")
str=replace(str,chr(10)&chr(10), "")
str=replace(str,chr(10),"")
htmlcode=str
end function
%>
使用时
取出时把上面的程序反过来
<%
function htmlcode2(str)
原创
2011-12-13 14:57:07 ·
1098 阅读 ·
0 评论