Does string include case-sensitive?

Both String#includes() and String#indexOf() are case sensitive . Neither function supports regular expressions. To do case insensitive search, you can use regular expressions and the String#match() function, or you can convert both the string and substring to lower case using the String#toLowerCase() function.16 May 2019

Read more

How do I make SQL case like insensitive?

Case insensitive SQL SELECT: Use upper or lower functions select * from users where lower(first_name) = ‘fred’; As you can see, the pattern is to make the field you’re searching into uppercase or lowercase, and then make your search string also be uppercase or lowercase to match the SQL function you’ve used.

Read more