carolw has asked for the wisdom of the Perl Monks concerning the following question:
Hi,
Should I loop over index to find the positions of all occurences of a substring in a string or is there a function that can retrieve the positions of all occurences?
Thanks
Carol
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: positions of all occurrences of a substring in a string
by LanX (Saint) on Jun 20, 2014 at 13:12 UTC | |
|
Re: positions of all occurrences of a substring in a string
by Eily (Monsignor) on Jun 20, 2014 at 13:36 UTC | |
by ikegami (Patriarch) on Jun 20, 2014 at 18:43 UTC | |
|
Re: positions of all occurrences of a substring in a string
by vinoth.ree (Monsignor) on Jun 20, 2014 at 13:32 UTC | |
by Anonymous Monk on Jun 12, 2024 at 20:13 UTC | |
|
Re: positions of all occurrences of a substring in a string
by InfiniteSilence (Curate) on Jun 20, 2014 at 13:35 UTC | |
| A reply falls below the community's threshold of quality. You may see it by logging in. | |
| A reply falls below the community's threshold of quality. You may see it by logging in. |