equivalent of string.contains(vs2005) in vs2003.
-
Hi all, First of all i wud like to express my heartiest gratitude to the expertsof codeproject who have been helping me time to time so that i dont remain stuck with a particular problem. My Prob: I was using VS2005 for building my application but suddenly due to some unavoidable circumstances we are forced to migrate to VS2003.But I am not too well-versed with VS2003 andm finding it a bit difficult to convert my app into VS2003. One such problem is that I was using string.contains in VS2005 but now I see that it doesnt exist in VS2003.So I wud like to know is there a way to implement the same feature in VS2003??plz help me out!!!!
-
Hi all, First of all i wud like to express my heartiest gratitude to the expertsof codeproject who have been helping me time to time so that i dont remain stuck with a particular problem. My Prob: I was using VS2005 for building my application but suddenly due to some unavoidable circumstances we are forced to migrate to VS2003.But I am not too well-versed with VS2003 andm finding it a bit difficult to convert my app into VS2003. One such problem is that I was using string.contains in VS2005 but now I see that it doesnt exist in VS2003.So I wud like to know is there a way to implement the same feature in VS2003??plz help me out!!!!
First of all, this has nothing to do with visual studio. VS is just an editor. Documentation[^] for
string.Contains
says it is supported only on .NET framework 3.0 or later. In .NET 1.1, you have to use String.IndexOf[^] method to see whether a character exist or not. :)Navaneeth How to use google | Ask smart questions