本文介绍了InStr测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 限时删除!! 嘿所有, 我得到的结果是我不明白 i有一个字符串test1,test2 如果是InStr(test1)和InStr(test2)那么 ''里面 EndIf 由于某种原因,内部没有运行。任何想法? 谢谢, rodcharhey all,i''m getting a result that i don''t understandi have a string "test1, test2"If InStr("test1") and InStr("test2") Then''InsideEndIfThe inside is not running for some reason. Any ideas?thanks,rodchar推荐答案 是的。你没有使用错误的Instr语法。 我甚至惊讶于编译。Yes. You are not using the wrong syntax for Instr.I surprised this even compiles. 呃,好吧它已经有一段时间了,因为我已经使用了任何基本的味道,但是没有 InStr需要多个参数...? 切换选项严格...Er, well it''s been a while since I''ve used any flavour of Basic, but doesn''tInStr require more than one argument...?Switch Option Strict on... 我认为OP *是*使用错误的InStr语法...I think the OP *is* using the wrong syntax for InStr... 我敢打赌它不会......I bet it doesn''t... 这篇关于InStr测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 1403页,肝出来的..
09-06 07:04