Tuesday, 10 September 2013

How do I get containsignorecase for java?

How do I get containsignorecase for java?

I am trying to use contains for strings coinciding with the search
symbols. However, seems like contains does not have an ignore case unlike
equals. Is there any way to go around ?
The following line of code is where I am using the same (I have heard of
pattern, but how do I use the same in my case? )
searchSymbol.contains(mSearchView.getText().toString()
Thanks! Justin

No comments:

Post a Comment