I have to write all first letters of a string with 9 words in a new string. Is there a better way to do it than:
eg <- "This is a test I developed"
temp.eg <- strsplit(eg,' ')[[1]]
temp.eg <- substr(temp.eg, 0, 1)
new.eg <- paste(temp.eg, collapse = "")
Also, is there another way of splitting the string, so I dont have to use:
strsplit() [[1]]