📌  相关文章
📜  计算字符串中的单词 - R 编程语言代码示例

📅  最后修改于: 2022-03-11 14:51:59.890000             🧑  作者: Mango

代码示例1
library(stringr)
str_count(string = "How many words are in this sentence", pattern = '\\w+')