R/count.R
count.Rd
Count Characters in a Chars Object
count(x, value, ignore.case = FALSE)
A vector of characters.
character (length 1) to count
should the letter case be ignored?
integer, count of instances of value in x
value
x
count(chars("strawberry"), 3) #> [1] 0