dim strarr as string()
dim str1 as string
str1="disp"
strarr = New String() {"JR_RegDate", "DC_Rev", "Disp", "SubDisp", "Unit"}
if array.indexof(strarr,str1)<>-1 then
'yes
else
'no
endif
判断一个字符是否在数组中
最新推荐文章于 2023-05-12 17:45:00 发布