亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

asp中回車換行符CHR(10)表示換行,CHR(13)表示回車,CHR(32)表示空格

 更新時(shí)間:2006年08月06日 00:00:00   投稿:mdxy-dxy  
這篇文章主要介紹了asp中回車換行符CHR(10)表示換行,CHR(13)表示回車,CHR(32)表示空格,需要的朋友可以參考下

先舉個(gè)例子

<% 
function th(str) 
str=replace(str,"媽的","MD") 
str=replace(str,"靠","KAO") 
th=str 
end function 

function encode(str) 
  str = replace(str, ">", "&gt;") 
  str = replace(str, "<", "&lt;") 
  str = Replace(str, CHR(32), "&nbsp;") 
  str = Replace(str, CHR(13), "") 
  str = Replace(str, CHR(10) & CHR(10), "</P><P>") 
  str = Replace(str, CHR(10), "<BR>") 
encode=str 
end function 
%>
<%title=request.form("title") 
content=request.form("content")%>
文章標(biāo)題:<%=th(title)%><hr> 
文章內(nèi)容:<%=encode(th(content))%> 

th(str)為自定義函數(shù),主要功能很簡單:過濾字符。encode(str)也為自定義函
數(shù),主要功能是完整地顯示被傳遞的信息。
CHR(10)表示換行,CHR(13)表示回車,CHR(32)表示空格。

附加功能:顯示UBB代碼。
即ubb.asp中含有ubb()函數(shù)。

增強(qiáng)的cnbruce.asp

<!--#include file="http://chabaoo.cn/ubb.asp"--> 
<% 
function th(str) 
str=replace(str,"媽的","MD") 
str=replace(str,"靠","KAO") 
th=str 
end function 
%>

以上就是asp中回車換行符CHR(10)表示換行,CHR(13)表示回車,CHR(32)表示空格的詳細(xì)內(nèi)容,更多關(guān)于asp中回車換行符的資料請關(guān)注腳本之家其它相關(guān)文章!

相關(guān)文章

最新評論