Returns a vector of the positions of x in table
Usage
sf_match(x, table, nthreads = getOption("stringfish.nthreads", 1L))Details
Note: similarly to the base R function, long "table" vectors are not supported. This is due to the maximum integer value that can be returned (`.Machine$integer.max`)
Examples
if(getRversion() >= "3.5.0") {
sf_match("c", letters)
}
#> [1] 3