关于split应用的例子,也试了一个晚上! 不指定

admin , 2006/04/28 13:19 , 代码片段,演示也有 , Comments(1) , Reads(5015) , Via Original

<%
function foot(abc)
abc=split(abc,";")
for i=0 to ubound(abc)
    str =abc(i)&chr(10)
    str = Split(str,"|")
    response.write "<a  href=" & Str(1)
    If Str(2)=1 Then Response.Write " target=_blank "
    Response.Write ">" & Str(0) & "</a>" &chr(10)
next
end function
%>
<% abc="首页|index.asp|0;图片|pic.asp|0;文章|act.asp|0;教程|act.asp|0;blog|http://www.aixq.com|1" %>
<%= foot(abc) %>
Tags: , ,
admin Email Homepage
2006/04/28 13:23
先是放在wpsni.f78.net上最近在测试baidu的收入情况,所以先把他放到这里!
Pages: 1/1 First page 1 Final page
Add a comment

Nickname

Site URI

Email

Enable HTML Enable UBB Enable Emots Hidden Remember [Login] [Register]