I have an array of strings stringsArr and also I have a string myString. I would like to find first index of my array for which value is euqal myString OR contains myString.
I know method indexOf(), but unfortunatelly it works only if value equals myString. I googled through documentation, but didn't find anything suitable, so decided to ask here if I didn't miss something.