A function for detecting a pattern at the end of a string
Examples
x <- c("alpha", "beta", "gamma", "delta", "epsilon")
sf_ends(x, "a")
#> [1] TRUE TRUE TRUE TRUE FALSE
A function for detecting a pattern at the end of a string
x <- c("alpha", "beta", "gamma", "delta", "epsilon")
sf_ends(x, "a")
#> [1] TRUE TRUE TRUE TRUE FALSE