用SPLIT函数,把字符串变成数组,然后对数组进行操作就可以了。例:str = "111.jpg,222.jpg,333.jpg,444.jpg,555.jpg"arr = split(str, ",")rw = "
sPic = rs("name")sPic = split(sPic, ",")for i=0 to ubound(sPic) response.write "