写个函数
function your_content(str)
if str<>"" then
my_newline=replace(str,chr(13)&chr(10),"<br>")
my_newline=replace(your_content,chr(32),"&nbsp;")
my_newline=replace(your_content,chr(9)," ")
else
your_content="&nbsp;"
end if
end function