stringEndsWith
stringEndsWith(x, endsWith)
x | vector of character to be checked if they end with |
---|---|
endsWith | string to be searched for at the end of the string(s) in
|
stringEndsWith(c("abc", "Kabeljau", "Arabella"), "a")#> [1] FALSE FALSE TRUEstringEndsWith(c("abc", "Kabeljau", "Arabella"), "jau")#> [1] FALSE TRUE FALSE