Discover whether any of the strings in `str` contain `pattern`

string_detect_any(str, pattern)

Arguments

str

Vector of strings to search through

pattern

Pattern to search for

Value

Logical on whether the pattern was found in any of the strings