Equivalent of .Contains() in Insight Maker.
Usage
contains_IM(haystack, needle)
Arguments
- haystack
Vector or string to search through
- needle
Value to search for
Examples
contains_IM(c("a", "b", "c"), "d") # FALSE
#> [1] FALSE
contains_IM(c("abcdef"), "bc") # TRUE
#> [1] TRUE