在vb6中我们有InStr,在vb.net中? [英] in vb6 we have InStr ,and in vb.net ?

查看:197
本文介绍了在vb6中我们有InStr,在vb.net中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨。

我如何检查vb.net中字符串2中是否存在字符串1?


祝你有愉快的一天。

hi.
how can i check if string 1 exist in string 2 in vb.net ?

have a nice day.

推荐答案

*" Daylor" <沓**** @ netvision.net.il> scripsit:
* "Daylor" <Da****@netvision.net.il> scripsit:
如何检查字符串1是否存在于vb.net的字符串2中?
how can i check if string 1 exist in string 2 in vb.net ?




''Microsoft.VisualBasic.Strings。 InStr''或''String.IndexOf''。


-

Herfried K. Wagner

MVP·VB Classic ,VB.NET

< http://www.mvps.org/dotnet>


迪尔伯特的智慧之言#18:永不争辩和白痴一起他们把你拖到你的水平然后用经验击败你。



''Microsoft.VisualBasic.Strings.InStr'' or ''String.IndexOf''.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Dilbert''s words of wisdom #18: Never argue with an idiot. They drag you down
to their level then beat you with experience.


你好Herfried,
Hi Herfried,
迪尔伯特的智慧之言#18:永远不要与白痴争论。他们将
拖到他们的水平,然后用经验打败你。
Dilbert''s words of wisdom #18: Never argue with an idiot. They drag you down to their level then beat you with experience.




我从来不知道你引用了什么? Dilbert就像卡通片一样吗?


尼克。


-

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \

无论如何。无论结果如何,你都会被改变。


Fergus - 2003年9月5日

/ \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \\ \\ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \ / \



I never knew you took to quoting? is that Dilbert as in the cartoon?

Nick.

--
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
"No matter. Whatever the outcome, you are changed."

Fergus - September 5th 2003
/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\


*" Nak" < a@a.com> scripsit:
* "Nak" <a@a.com> scripsit:
Dilbert的智慧之言#18:永远不要与白痴争论。他们把你拖到他们的水平然后用经验击败你。
Dilbert''s words of wisdom #18: Never argue with an idiot. They drag you
down to their level then beat you with experience.



我从来不知道你引用了什么?是Dilbert在卡通片里吗?



I never knew you took to quoting? is that Dilbert as in the cartoon?




我不知道......也许是Dilbert。


;-)

-

Herfried K. Wagner

MVP·VB Classic,VB.NET

< http://www.mvps.org/dotnet>


迪尔伯特的智慧之言#18:永远不要与白痴争论。他们把你拖到他们的水平,然后用经验击败你。



I don''t know... Maybe it''s that Dilbert.

;-)

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

Dilbert''s words of wisdom #18: Never argue with an idiot. They drag you down
to their level then beat you with experience.


这篇关于在vb6中我们有InStr,在vb.net中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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