偷情一区二区,男人综合网,中文字幕资源站,人妻被黑人邻居精服

精辟網(wǎng)文
asp做網(wǎng)站中如何循環(huán)輸出26個(gè)英文字母
信息來(lái)源:長(zhǎng)沙做網(wǎng)站  /  發(fā)布時(shí)間:2014-2-12  /  瀏覽數(shù)量:

網(wǎng)站建設(shè)asp中如何循環(huán)輸出26個(gè)英文字母西安網(wǎng)站建設(shè)asp中如何循環(huán)輸出26個(gè)英文字母

<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>Untitled Document</title>

</head>

<body>

asp中如何循環(huán)輸出26個(gè)英文字母

<br />

1.

<%

Dim i : For i=Asc("a") To Asc("z") : Response.Write Chr(i) : Next

%>

<br />

2.

<%

str="a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z"

str=Split(str,"|")

For i=0 to Ubound(str)

    Response.Write(str(i)&"<br>")

Next

%>

<br />

3.

<%

'大寫(xiě)字母

for i=65 to 90

response.Write chr(i)

next

'小寫(xiě)字母

for i=97 to 122

response.Write chr(i)

next

%>

<br />

4.

<%

str="a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z"

str=replace(str,"|","<br>")

Response.Write(str)

%>

<br />

5.

<%

str="abcdefghijklmnopqrstuvwxyz"

for n=1 to 26

     response.write(mid(str,n,1))

next

%>

</body>  

</html> 

 




上一條: 做了網(wǎng)站 不懂網(wǎng)站基礎(chǔ)的新手怎么去學(xué)SEO
下一條: ASP生成XML動(dòng)態(tài)數(shù)據(jù)讀取代碼實(shí)例
相關(guān)熱門(mén)資訊  News
一二三客戶案例

  123 NETWORK

合作共贏,助您打開(kāi)網(wǎng)絡(luò)營(yíng)銷財(cái)富之間!

聯(lián)系方式

地址:湖南省長(zhǎng)沙市天心區(qū)韶山南路248號(hào)南園503室

電話:13637482004    0731-88571521

網(wǎng)址:http:///

郵箱:123@123007.com

微信咨詢

掃一掃進(jìn)移動(dòng)端

版權(quán)所有 © 長(zhǎng)沙一二三網(wǎng)絡(luò)技術(shù)有限公司    統(tǒng)一社會(huì)信用代碼:91430103MACCH7984M    網(wǎng)站ICP備案號(hào):湘ICP備2023006748號(hào)     湘公網(wǎng)安備 43010302001803號(hào)