Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: Divide a list of string into substrings

by tybalt89 (Prior)
on Jun 23, 2020 at 15:51 UTC ( #11118382=note: print w/replies, xml ) Need Help??


in reply to Re: Divide a list of string into substrings
in thread Divide a list of string into substrings

Violates the second rule, "* The length of each substring should be at least 3 characters."

  • Comment on Re^2: Divide a list of string into substrings

Replies are listed 'Best First'.
Re^3: Divide a list of string into substrings
by choroba (Archbishop) on Jun 23, 2020 at 16:13 UTC
    True, I forgot about that! Fixed, thanks.

    map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2020-12-04 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How often do you use taint mode?





    Results (58 votes). Check out past polls.

    Notices?