str_collapse {mlr3misc} | R Documentation |
Collapse Strings
Description
Collapse multiple strings into a single string.
Usage
str_collapse(str, sep = ", ", quote = character(), n = Inf, ellipsis = "[...]")
Arguments
str |
( |
sep |
( |
quote |
( Will be replicated to lenght 2. |
n |
( |
ellipsis |
( |
Value
(character(1)
).
Examples
str_collapse(letters, quote = "'", n = 5)
[Package mlr3misc version 0.15.1 Index]