R/space.line.R

Defines functions space.line

#' Replace space with new line
#'
#' This function replace space with a new line
#'
#' @param str string with spaces
#' @return The string with '\n' as replacement for the space 

space.line <- function(str) {
	gsub(" ", "\n", str)
}
irisweyermenkhoff/toyota-idv-functions documentation built on March 4, 2020, 9:57 a.m.