replacement function for "Result = instr("DogCatRatBat", "Cat") " in c# and vb.net
Posted on 2011-03-02
Most omnipotent guru's,
New to c# and vb.net. I need a very clear cut example of the VB replacement for lResult = instr("DogCatRatBat", "Cat") in c# and vb.net. I've seen many vb.net/c3 semi-examples that feature looking for a single character and returning the ordinal position. But I haven't found anything that simply returns the location of a simple multi-character substring within a string. Can someone post a clear and complete example of what I need to have?