Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一串单词
txt = "The licenses for most software" length(txt) 1
我可以使用 strsplit 将其拆分为复合词
t = unlist(strsplit(txt, split=" ")) length(t) 5
现在我想撤销我所做的。如何将 5 个单词重新连接到原始字符串中?
谢谢
paste(t,collapse=" ") # [1] "The licenses for most software"