The includes() method returns true if a string contains a specified string. Otherwise it returns false . The includes() method is case sensitive.
Read moreHow do you test a substring case insensitive?
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