Answers for "array of string contains a part of a string search"

0

array of string contains a part of a string search

if (yourArray.indexOf("someString") > -1) {
    //In the array!
} else {
    //Not in the array
}
Posted by: Guest on June-21-2021

Code answers related to "array of string contains a part of a string search"

Browse Popular Code Answers by Language