Hi all,
I'm using substring and IndexOf to locate a value within a string but my code doesn't work if the string (strOldValue) below contains any of the string in a different case. So if strOldValue contained Test or TEST then my substring fails. How would I add ToUpper in this scenario? Forgive my ignorance I'm new to .Net.
String strValue = strOldValue.Substring(strOldValue.IndexOf(@"test"));
Thanks C