VBS中有类似于VB的getStr的函数吗?
我要实现这样的功能:
有一字符串 compatible; msie 6.0; windows nt 5.0; .net clr 1.1.4322
我要返回msie的开始到这个字符串的分号为结束,即读出的结果为: msie 6.0
怎么实现?
看看这个VB的代码例子参考一下:
Function getIEVer
On Error Resume Next
getIEVer = LCase(window.clientInformation.appVersion)
getIEVer = getStr(getIEVer, "msie", ";")
End Function