R/remove_empty_strings.R

Defines functions remove_empty_strings

Documented in remove_empty_strings

#' Remove empty elements from a vector of strings.
#' 
#' @param stringArray Vector of strings.
#' @return Vector of strings without the empty items.
#' @export
remove_empty_strings <- function(stringArray)
{
  return(stringArray[which(stringArray!='')])
}
rogiersbart/rtoolz documentation built on Aug. 20, 2020, 2:48 p.m.