Tests if the string contains the specified substring or at least one of the substrings contained in the specified array or vector.