count pattern in strings the way of pipe operator
x %count% y
Arguments
x |
Pattern to count in string |
y |
string where to count pattern |
Value
A vector of integer
Details
This functions is a pipe version of stringr::count
Examples
#> [1] 1 3 1 1
#> [1] 1 1 1 3