[求助]怎样单独显示字段中用 , 号隔开的数据?
字段 xingzhuang 里的数据为 形状1, 形状2, 形状3, 形状4, 形状5, 形状6, 形状7
用<%=rs("xingzhuang")%> 显示 形状1, 形状2, 形状3, 形状4, 形状5, 形状6, 形状7
怎样才能让数据单独显示呀??只显示 形状2 或者 显示 形状3
xingzhuang = "形状1, 形状2, 形状3, 形状4, 形状5, 形状6, 形状7"
NewArray = split(xingzhuang,",")
response.write(NewArray (0)) = 形状1
response.write(NewArray (1)) = 形状2
response.write(NewArray (2)) = 形状3
response.write(NewArray (3)) = 形状4
response.write(NewArray (4)) = 形状5
response.write(NewArray (5)) = 形状6
response.write(NewArray (6)) = 形状7