• /r/csharp
  • Winform String[] split ignore case

    How can I ignore the case for textbox2.text when spliting with pattern? String[] subStrings = e.Item.Text.Split(new String[] { textBox2.Text }, StringSplitOptions.None); This line pretty works in my application(search highlight) but I want when the pattern is “Stephen Curry” and I type “steph” It would highlight “Steph”, my current app needs to type the exact case […]