Equivalent of .IndexOf() in Insight Maker
Examples
indexof(c("a", "b", "c"), "b") # 2
#> [1] 2
indexof("haystack", "hay") # 1
#> [1] 1
indexof("haystack", "m") # 0
#> [1] 0
Equivalent of .IndexOf() in Insight Maker
indexof(c("a", "b", "c"), "b") # 2
#> [1] 2
indexof("haystack", "hay") # 1
#> [1] 1
indexof("haystack", "m") # 0
#> [1] 0