Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- String strValue = strOldValue.Substring(strOldValue.IndexOf(@"test"));
- String strValue = strOldValue.Substring(
- strOldValue.ToUpper().IndexOf(@"TEST"));
- String strValue = strOldValue.Substring(strOldValue.IndexOf(@"TEST",
- StringComparison.CurrentCultureIgnoreCase));
- String strValue
- = strOldValue.Substring(strOldValue.ToUpper().IndexOf(@"TEST"));
- strValue.Substring(strValue.IndexOf("TEST", StringComparison.OrdinalIgnoreCase));
- String strValue = new Regex("test.*",
- RegexOptions.IgnoreCase).Match(strOldValue).Value;
Add Comment
Please, Sign In to add comment