在运营商 [英] In operator

查看:82
本文介绍了在运营商的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



如果我想在VB中使用IN运算符,那么我该如何使用它?


i意味着我想要这样的东西


如果Mid(WholeLine,22,3)In(" JAN"," FEB")那么


但是它给了我错误。


i会感激任何帮助。

谢谢

Hi
If i want to use IN operator in VB , then how can i use it?

i mean i want to something like this

If Mid(WholeLine, 22, 3) In ("JAN" ,"FEB") then

but it gives me error.

i would appreciate any help.
thanks

推荐答案




如果我想在VB中使用IN运算符,那么我该如何使用呢?


i意味着我想要这样的东西


如果Mid(WholeLine,22,3)In(JAN,FEB)那么


但它给了我错误。


i会感激任何帮助。

谢谢
Hi
If i want to use IN operator in VB , then how can i use it?

i mean i want to something like this

If Mid(WholeLine, 22, 3) In ("JAN" ,"FEB") then

but it gives me error.

i would appreciate any help.
thanks



你可以使用inStr()函数类似

You can use inStr() function Like

展开 | 选择 | Wrap | 行号


谢谢

i尝试但仍然给我错误

非常感谢快速回答
thanks
i tried but still gives me error
thanks alot for quick answer



谢谢

i尝试但仍然给我错误

非常感谢快速回答
thanks
i tried but still gives me error
thanks alot for quick answer



您可以发布您尝试过的内容以及您遇到的错误吗?

can you post what you had tried and what is the error you are getting?


这篇关于在运营商的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆