asp 数组显示方法

2019PHP高薪工程师学习路线图....>>>

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