Bob and Max, I thank you. It helped me much.

2016-10-21 3:47 GMT+02:00 Bob Rudis <b...@rud.is>:

> `stringi::stri_count()`
>
> I know that the `stringr` pkg saves some typing (it wraps the
> `stringi` pkg), but you should really just use the `stringi` package.
> It has many more very useful functions with not too much more typing.
>
> On Thu, Oct 20, 2016 at 5:47 PM, Jan Kacaba <jan.kac...@gmail.com> wrote:
> > Hello dear R-help
> >
> > I tried to find function which returns number of occurrences of a pattern
> > in string. The closest match I've found is str_locate_all in stringr
> > package. I can use str_locate_all but write my function but I don't want
> > reinvent wheel.
> >
> > JK
> >
> >         [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to