fork download
  1. library(stringr)
  2. ex_str <- "This.is.a.string"
  3. str_count(ex_str, fixed('.'))
Success #stdin #stdout 0.24s 41816KB
stdin
Standard input is empty
stdout
[1] 3