R/Fun_Delete-space.R

Defines functions delete_space

Documented in delete_space

#' Delete all whitespace until a non-whitespace character.
#' @param extract_val a vector.
#'

delete_space <- function(extract_val){
  while(extract_val[1] == ""){
    extract_val<-extract_val[-1]
  }
  return(extract_val)
}

Try the dycdtools package in your browser

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

dycdtools documentation built on Sept. 11, 2024, 6:40 p.m.