Collapse a vector of characters to a string with separators

h_collapse_char_vec(v, collapse = ", ", qoute = "'")

Arguments

v

vector of chars to be collapsed

collapse

character that separates the elements in the returned object

qoute

character that surronds every element in v in the returned object

Value

collapsed version of v

Examples

cat(sanityTracker:::h_collapse_char_vec(v = letters[1:4]))
#> 'a', 'b', 'c', 'd'