at_count_words: Count the number of words in a string.

Description Usage Arguments Examples

View source: R/altools_general_2020.R

Description

This actually counts the number of spaces so be sure to stringr::str_trim your whitespaces out from start and end. Check out details on s and other regular expressions

Usage

1

Arguments

x

string or vector of stings (in mutate case) to count words (or spaces in reality)

...

Not used

Examples

1
2
at_count_words("test this little thing")
at_count_words(" watch out for white spaces ! ")

NewGraphEnvironment/altools documentation built on Nov. 19, 2020, 1:38 a.m.