ASP函数 Split For i = 0 To UBound(strSp)<meta http-equiv="content-type" content="text/html; charset=utf-8">
<%
strAll="你好,我是码农,你呢?"
strSp = Split(strAll, ",")
For i = 0 To UBound(strSp)
response.write strSP(i) & "<br>"
next
%>运行结果是:
你好
我是码农
你呢?