indes and length must refer to a location within the string

来源:百度知道 编辑:UC知道 时间:2024/05/23 19:57:52
VB写的。。

出现这个错误。。

有哪位高手知道是什么原因。。

谁知道写明白点。。不要太俗

indes and length must refer to a location within the string
指数和长度必须引用该字符串内的位置

例句
1 For a complete list of standard feeds, refer to the YouTube Data API Developer's Guide in Resources.
要访问标准提要的完整列表,请参考参考资料中提供的YouTube Data API开发者指南。
2 I like to refer to a number of pages at one time, which is difficult on a computer.
我喜欢同时参考好几页书,这在电脑上难以实现。
3 You can refer to Listing3 for the server-side code.
您可以参考清单3获取服务器端代码。

Index and length ...

索引或者长度(参数)必须引用字符串中的一个位置

可能是你调用了一些函数,比如
mid , left , instr,right ...

然后参数不在字符串的长度范围内

不过也只能是猜测,没有代码贴上来。。。也不能说明什么

一个样一直?这样一来学校看见一定是因为自己不够努力还是不要

ndex and length ...

索引或者长度(参数)必须引用字符串中的一个位置

可能是你调用了一些函数,比如
mid , left , instr,right ...

然后参数不在字符串的长度范围内

不过也只能是猜测,没有代码贴上来。。。也不能说明什么