Answers for "How to make String.Contains case insensitive?"

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 insensitive?"

Browse Popular Code Answers by Language