R/insert_before_file_ext.R

Defines functions insert_before_file_ext

insert_before_file_ext <- function(x, i){
  gsub("(.[A-Za-z]{1,10}$)", paste0(i, "\\1"), x)
}

Try the rdwplus package in your browser

Any scripts or data that you put into this service are public.

rdwplus documentation built on April 4, 2025, 1:49 a.m.