R/trim.R

Defines functions trim

trim <- function(x){
  x <- gsub("^[ ]+","",x)
  x <- gsub("[ ]+$","",x)
  x
}
ZhonghuiGai/groutable documentation built on Jan. 1, 2022, 9:12 p.m.