How to check whether a string contains a substring in JavaScript?
we use javascript function string.includes(substring);.this function return true if substring contain in the string otherwise it will return false.
#javascript
#substring
#string
#string-matching
#stringmatching