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