http://qs321.pair.com?node_id=11118382


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]