希望有人能帮一下忙.在线等
谢谢了.
<% dim a,n,m,l 'm为每行显示字数 m=13 l=0 a="王志文下月结婚|新娘很年轻|韩三平探班红楼梦培训基地|活着真好|前清历史|金婚|央视否认封杀艳照门明星|阿Sa称Twins有散伙危险 |江山|美人|江山1|江山2|解放军积极应对印度增兵边境" a=split(a,"|") for j=0 to ubound(a) response.write "<a href='#'>"&a(j)&"</a> " if len(a(j))>(m+1)\2 then response.write"<br>" else l=l+len(a(j))+1 end if if j=ubound(a) then n=j else n=j+1 end if if (l=>(m+1) or l+len(a(n))=>(m+1)) and len(a(j))<=(m+1)\2 then response.write"<br>" l=0 end if next %>