R/trim.R

trim <- function (string) {
  result <- gsub("^\\s+|\\s+$", "", string)
  return(result)
}

Try the sealevel package in your browser

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

sealevel documentation built on May 2, 2019, 6:51 p.m.