« 给你一辆车,你能开出来吗?先显示网页后加载广告的方法 »

split函数和ubound函数

<% 
str1="hello,spell,i,love,you" 
aa= split(str1,",")'这里已经生成了一个数组aa,aa的内容是从str1中以‘,’为分格出来的! 
  for i=0 to Ubound(aa)'开始去的各个ID,i 是下标 ,ubound返回数组的数量
    response.write(aa(i)&"<br>") 
  next 
%>

  • 相关文章:

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Copyright www.0097.org Some Rights Reserved.