一個(gè)非常簡(jiǎn)單的將半角轉(zhuǎn)換為中文的函數(shù)
更新時(shí)間:2006年09月18日 00:00:00 作者:
復(fù)制代碼 代碼如下:
function new_str(str)
if instr(str,chr(34))<>0 and str<>"" then
str_split=split(str,chr(34))
i=1
str_s=""
for j=0 to ubound(str_split)-1
if i mod 2 then
str_s=str_s&str_split(j)&"“"&str_split(j+1)
else
str_s=str_s&str_split(j)&"”"&str_split(j+1)
end if
i=i+1
next
end function
相關(guān)文章
IIS訪問(wèn)ASP頁(yè)面時(shí)報(bào)錯(cuò)The requested resource is in use.的解決辦法
IIS訪問(wèn)ASP頁(yè)面時(shí)報(bào)錯(cuò)The requested resource is in use.的解決辦法...2007-04-04關(guān)于靜態(tài)頁(yè)生成問(wèn)題 突破form數(shù)量限制
關(guān)于靜態(tài)頁(yè)生成問(wèn)題 突破form數(shù)量限制...2006-09-09asp獲取客戶端某一個(gè)圖片的x,y坐標(biāo)的代碼
asp獲取客戶端某一個(gè)圖片的x,y坐標(biāo)的代碼...2007-11-11asp下利用fso實(shí)現(xiàn)文件夾或文件移動(dòng)改名等操作函數(shù)
以后利用fso來(lái)操作文件和文件夾就方便了2008-01-01