是和\n进行变换,空格要换为 。
<%str="textarea里面的内容"response.write replaceAll(str)%><% function replaceAll(str) str=replace(str,vbcrlf," ") replaceAll=replace(str,chr(13)&chr(10)," ") end function %>