Answers for "count word in a string r"

R
0

count word in a string r

library(stringr)
str_count(string = "How many words are in this sentence", pattern = '\\w+')
Posted by: Guest on December-16-2020

Code answers related to "count word in a string r"

Browse Popular Code Answers by Language