powered by
Flatten a string
str_flatten(string, collapse = "")
A character vector of length 1
Character to flatten
String to insert between each piece
str_flatten(letters) str_flatten(letters, "-")
Run the code above in your browser using DataLab