function strreplace(str)
if str = "" then
strreplace = str
else
strreplace = replace(str"""")
end if
end function
检测数字函数
function check_num(str)
dim i
For i = To Len(str)
if Asc(Mid(str i )) < or Asc(Mid(str i )) > then
check_num=false
exit function
else
check_num=true
end if
Next
end function
function cutstr(strstrlenmoreurl)
if len(str)>strlen then
str=left(strstrlen) & ""
End if
if (len(str)>strlen) and more then
str=str+" 点这里查看详情"
End if
cutstr=str
End function