R/custom_func.R
contains_IM.Rd
Equivalent of .Contains() in Insight Maker
contains_IM(haystack, needle)
Vector or string to search through
Value to search for
Logical value
Other custom: expit(), indexof(), length_IM(), logistic(), logit(), rbool(), rdist(), rem(), round_IM()
expit()
indexof()
length_IM()
logistic()
logit()
rbool()
rdist()
rem()
round_IM()
contains_IM(c("a", "b", "c"), "d") # FALSE #> [1] FALSE contains_IM(c("abcdef"), "bc") # TRUE #> [1] TRUE