powered by
stri_flatten(str, collapse = "")
stri_flatten(str, collapse='XXX')
paste(str, collapse='XXX', sep="")
If you wish to use some more fancy collapse separators between flattened strings, call stri_join(str, separators, collapse='').
collapse
stri_join(str, separators, collapse='')
If str is not empty, then a single string is returned. If collapse has length > 1, then only first string will be used.
str
stri_c
stri_join
stri_paste
stri_dup
stri_flatten(LETTERS) stri_flatten(LETTERS, collapse=",") stri_flatten(c('abc','123','\u0105\u0104')) stri_flatten(stri_dup(letters[1:6],1:3))
Run the code above in your browser using DataLab