|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re: Is it possible to get all tetra words with correct starting position using a better code within a loop?by space_monk (Hermit) |
| on Nov 22, 2012 at 08:48 UTC ( #1005079=note: print w/ replies, xml ) | Need Help?? |
|
You should look up substr. (Update: choroba put a more detailed explanation while I was writing this, so see below) Alternatively, in the spirit of TMTOWDI, you also could adopt the following algorithm
A Monk aims to give answers to those who have none, and to learn from those who know more.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||