mid函数问题,急。在线等。。。
有两个asp文件,一个提供字符串处理功能:strfun.asp
内有一函数为
function test(str)
test = mid(str,1,1)
end function
另一个文件使用<!--include file="strfun.asp">引用strfun.asp文件。
调用函数test
Response.Write test("abc")
报错如下:
Microsoft VBScript 运行时错误 错误 '800a000d'
类型不匹配: 'Mid'
请教该如何处理此问题