I would like to split a string into its elements and then paste them together again. However no matter what I tried, it doesn`t work.
Here are two things I've tried:
'hello' %>% strsplit('') %>% paste0()
output: "c(\"h\", \"e\", \"l\", \"l\", \"o\")"
'hello' %>% strsplit('') %>% unlist() %>% paste0()
output: "h" "e" "l" "l" "o"
I would simply like to get my 'hello' back.