1

My question is fairly straightforward if I provide an example, along with my desired output:

# input
these_letters = c("I", "f", " ", "a", " ", "p", "r", "o", "g", "r", "a", "m")

# desired_output
sentence = "If a program"

so pretty much, I want to concatenate all letters into words, separating words based on the blank character " ".

Thanks in advance for help

Canovice
  • 9,012
  • 22
  • 93
  • 211

0 Answers0