R/utils.R

str_trim <- function(text) {
  gsub("\\s$", "", gsub("^\\s+", "", text))
}
metacran/mason documentation built on May 22, 2019, 7:48 p.m.