兴国资源网 Design By www.nnzcdc.com
'**************************************************
'函数名:JoinChar
'作  用:向地址中加入 ? 或 &
'参  数:strUrl  ----网址
'返回值:加了 ? 或 & 的网址
'**************************************************
function JoinChar(strUrl)
    if strUrl="" then
        JoinChar=""
        exit function
    end if
    if InStr(strUrl,"?")<len(strUrl) then 
        if InStr(strUrl,"?")>1 then
            if InStr(strUrl,"&")<len(strUrl) then 
                JoinChar=strUrl & "&"
            Else
                JoinChar=strUrl
            end if
        Else
            JoinChar=strUrl & "?"
        end if
    Else
        JoinChar=strUrl
    end if
end function
兴国资源网 Design By www.nnzcdc.com
广告合作:本站广告合作请联系QQ:858582 申请时备注:广告合作(否则不回)
免责声明:本站资源来自互联网收集,仅供用于学习和交流,请遵循相关法律法规,本站一切资源不代表本站立场,如有侵权、后门、不妥请联系本站删除!
兴国资源网 Design By www.nnzcdc.com