R/rpn.R

Defines functions rpn

Documented in rpn

#' rpn()
#'
#' remove punct/number and get only text
#'
#' @export
rpn <- function(string){
  return(trimws(gsub("[[:digit:]]","",gsub("[[:punct:]]","",string))))
}
nbarsch/tfwstring documentation built on May 4, 2023, 5:26 a.m.