Answers for "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

Browse Popular Code Answers by Language