在用split分割值的时候,如果值为null,则会提示split无效,应先进行一下判断再取split:
<%
if str<>"" and isnull(str)=false then
tags=split(str,",")
For i = 0 To UBound(tags)
str=str&"xxx"
next
end if
%>
在用split分割值的时候,如果值为null,则会提示split无效,应先进行一下判断再取split:
<%
if str<>"" and isnull(str)=false then
tags=split(str,",")
For i = 0 To UBound(tags)
str=str&"xxx"
next
end if
%>