Alex Gordon
Alex Gordon

Reputation: 60902

vb.net: finding a position of a string within a string?

is instr used in vb.net for this?

Upvotes: 5

Views: 30140

Answers (3)

Meta-Knight
Meta-Knight

Reputation: 17875

You can use the IndexOf method on a string, and you can also use the VB InStr function if you wish, although I would suggest sticking to .NET specific functions.

I would also suggest that you take a look at the documentation of the String methods which will help you know what functionality is available in the framework when working with strings. You can also take a look at the documentation for VB-specific string functions.

Upvotes: 5

Fredou
Fredou

Reputation: 20140

no indexof is

Upvotes: 2

Related Questions