Answers for "How to make String.Contains case i"

0

How to make String.Contains case insensitive?

Assert.IsTrue(text.ToUpper().Contains("Sample".ToUpper()));
Posted by: Guest on May-18-2020

Code answers related to "How to make String.Contains case i"

Browse Popular Code Answers by Language