glue_collapse() collapses a character vector of any length into a length 1 vector.
glue_sql_collapse() does the same but returns a
object rather than a glue object.
glue_collapse(x, sep = "", width = Inf, last = "") glue_sql_collapse(x, sep = "", width = Inf, last = "")
The character vector to collapse.
a character string to separate the terms. Not
The maximum string width before truncating with
String used to separate the last two items if
xhas at least 2 items.