Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Whatever
How to make String.Contains case insensitive?
user214859
Programming language:
Whatever
2021-04-07 13:53:47
0
Q:
How to make String.Contains case insensitive?
Daniel
Code:
Whatever
2021-08-06 05:45:13
Assert.IsTrue(text.ToUpper().Contains("Sample".ToUpper()));
0
Tags
string
make
con
how
Related
regex string case insensitive
str.contains multiple strings
seprate strings into repititive substrings
wstring find case insensitive
findstr case insensitive
New to Communities?
Join the community