BeforeLastDot

0th

Percentile

Get the part of a string before the last period.

This is usually used to get the part of a file name that doesn't include the file extension. It is vectorised over string.

Usage
BeforeLastDot(string)
Arguments
string

A character vector.

Value

A character vector.

Aliases
  • BeforeLastDot
Examples
BeforeLastDot(c("spreadsheet1.csv", "doc2.doc"))

Documentation reproduced from package filesstrings, version 0.4.0, License: GPL-3

Community examples

Looks like there are no examples yet.