JavaScript

JavaScript Includes Case Insensitive1 min read

One of the most common operations that programmers use on strings is to check whether a string contains some other string.

In this post you will see how to check string contains whether other string with insensitive.

 




Way 1: Check string with match() method

 

Way 2: Check string by converting to uppercase or lowercase

 

 

 

 

 

Leave a Comment