<% function htmlcode(str) str=replace(str,chr(13),"") str=replace(str,chr(10)&chr(10), "<br><br>") str=replace(str,chr(10),"<br>") htmlcode=str end function %> 使用时 <%=htmlcode(rs("XX"))%> 取出时把上面的程序反过来 <% function htmlcode2(str) str=replace(str,"",chr(13)) str=replace(str,"<br><br>",chr(10)&chr(10)) str=replace(str,"<br>",chr(10)) htmlcode2=str end function %>
ASP用文本域添加文本后,如何让文本按原来的格式显示
最新推荐文章于 2021-06-07 11:51:27 发布