collapse_lines {W4MRUtils}R Documentation

collapse_lines - to paste strings with collapse = "\n"

Description

collapse_lines() does exactly when paste does, but default collapse = "\n"

Usage

collapse_lines(..., sep = "\n")

Arguments

...

passed to base::paste0()

sep

set the separator. Deafult is "\n"

Author(s)

L.Pavot

Examples


collapse_lines(list("a message ", "in multiple", "parts"))


[Package W4MRUtils version 1.0.0 Index]