StrCountW("This is a true story!")
StrCountW("Just_one_word")
StrCountW("Not-just.one/word")
StrCountW("And what about numbers 8899 or special characters $$$/*?")
StrCountW(" Starting'n ending with some whitespace ")
StrCountW(c("This is a", "text in more", "than one line."))
Run the code above in your browser using DataLab