str_before_last_dot | R Documentation |
This is usually used to get the part of a file name that doesn't include the
file extension. It is vectorized over string
. If there is no period in
string
, the input is returned.
str_before_last_dot(string)
string |
A character vector. |
A character vector.
Other bisectors:
before-and-after
str_before_last_dot(c("spreadsheet1.csv", "doc2.doc", ".R"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.