How to Search in VB.NET

R

Rambabu.V

Hello friends,

I have a problem with the control "Search" or "Find" in VB.NET. Can
anyone pls tell me what is the fuctionality of Find method in VB.NET. or can
anyone give me the site link where we can find the functionality.

Regards..........
 
L

Leon Mayne [MVP]

Rambabu.V said:
I have a problem with the control "Search" or "Find" in VB.NET. Can
anyone pls tell me what is the fuctionality of Find method in VB.NET.
or can anyone give me the site link where we can find the
functionality.

You'll have to be more specific about what you want to do. Do you mean you
want to search a string for a substring? If so then you can use InStr:

If InStr(myString, subString) Then
' Do something
End If
 
J

Jay

Hello ,
You are not Specific With what you want to Do.
are you talking about Searching anything in the Code or else .
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top