Ivan,
In the .net help index, lookup the string class, and then look at all the
methods available. For instance, the IndexOf method might do the trick.
String strMyString = "Neat";
Int32 iLocation = strMyString.IndexOf("a");
if ( iLocation >= 0 )
{
//Do something
}
Mark
"Ivan Demkovitch" <i@a.b> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
Hi!
I would like to check if string contain specific substring.
How to do it?
P.S. I've done something stupid like
String.Replace
If str1<>str2....