关于asp的for循环中嵌套if语句的问题

2025-05-13 03:50:09
推荐回答(1个)
回答1:

一般只用判断分割后的数组内是否为空

hire_workadd = ""
pstring=split(trim(request("workadd")),",")
for numm=0 to ubound(pstring)
    if len(pstring(numm))>0 then
    你的处理代码....
    end if
next