Collapse a character vector to a character string

x %c% y

Arguments

x

A character vector

y

Character string, collapse parameter of paste0

Value

A character string

Details

This function is a pipe version of paste0 with collapse parameter to specify

Examples

c('N', 'F', 'K', 'A') %c% ' '
#> [1] "N F K A"
'All I wanna do' %e% '' %c% ''
#> [1] "All I wanna do"