VBScript运行时错误“800a01a8”所需的对象: [英] VBScript runtime error '800a01a8' Object required:
本文介绍了VBScript运行时错误“800a01a8”所需的对象:的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是完全新的VB和遇到了什么,我想象一定是菜鸟一个常见的错误。
我想一个字符串分割成在这个片段中的数组:
昏暗的myString,myArray的
的myString =分裂这个
myArray的= myString.Split( - )
这给我的错误:
Microsoft VBScript运行时错误'800a01a8'
所需的对象:分裂这个'
有人能请你告诉我,我缺少的是什么?
解决方案
myArray的=斯普利特(MyString的, - )
I'm completely new to VB and have run into what I imagine must be a common error for noobs. I'm trying to split a string into an array with this snippet:
Dim myString, myArray
myString = "split-this"
myArray = myString.Split("-")
This gives me the error:
Microsoft VBScript runtime error '800a01a8'
Object required: 'split-this'
Could someone kindly tell me what I'm missing?
解决方案
myArray = Split(myString, "-")
这篇关于VBScript运行时错误“800a01a8”所需的对象:的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文