Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: finding number of contiguous letters

by Skeeve (Parson)
on May 23, 2007 at 12:21 UTC ( #616988=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $string='computer';
    my $len= 3;
    my @strings= map substr($string,$_-$len,$len),($len..length $string);
    print join "\n",@strings,'';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://616988]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2020-11-25 21:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?