View source: R/hasFinalSlash.R
hasFinalSlash | R Documentation |
Does a String End with Slash?
hasFinalSlash(x)
x |
vector of character |
vector of boolean being TRUE
at indices where the elements in
x
end with a slash ("/")
(is_directory <- hasFinalSlash(c("a", "b/", "c", "d/")))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.