kollapse: Kollapse

View source: R/Stringendo.R

kollapseR Documentation

Kollapse

Description

Collapses values and strings to one string (without a white space). It also prints the results (good for a quick check)

Usage

kollapse(..., collapseby = "", print = 1)

Arguments

...

Variables (strings, vectors) to be collapsed in consecutively.

collapseby

collapse elements into a string separated by this character

print

Print the results to the terminal. Default is 1 for print(). Set to 2 for message().

Examples

kollapse(
  "Hello ", LETTERS[24],
  ", the winning numbers are ", c(1, 3, 5, 65, 11), " . Yay!"
)

vertesy/Stringendo documentation built on Nov. 10, 2024, 4:35 a.m.