ASP将文本域内容转换为HTML格式
'转换为HTML格式
function convert(str)
if str<>"" then
str=replace(str,chr(32)," ")
str=replace(str,chr(60),"<")
str=replace(str,chr(62),">")
str=replace(str,chr(34),""")
str=replace(str,chr(13),"<br />")
end if
convert=str
end function
上一篇:ASP数组的使用
下一篇:ASP获取提交表单所有值
讨论数量:0