in reply to Double check for positions

Hi, that's a FAQ:

$ perldoc -q substring Found in /home/nick/perl5/perlbrew/perls/perl-5.26.1/lib/5.26.1/pod/pe +rlfaq4.pod How can I count the number of occurrences of a substring within a st +ring? ...


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: Double check for positions
by bisimen (Acolyte) on Oct 18, 2017 at 13:01 UTC
    I don't think this is what I'm looking for...