asp 数组显示方法

const genderStr = "0|女|,1|男|"
function arrShow(id,str)
	list=Split(str,",")
	for each row in list
		cell=Split(row,"|")
		if cell(0) = ""&id&"" then
			show = cell(1)
		end if
	next
	arrShow = show
end function

编程技巧