- or download this
#my @chars = grep !$seen{$_}++, $text =~ /./g;
my @chars = 'a'..'z';
...
@chars;
$text =~ s/$re//g;
- or download this
#my @chars = grep !$seen{$_}++, $text =~ /./g;
my @chars = 'a'..'z';
...
@chars;
$text =~ s/($re)/substr($1,0,3)/eg;
- or download this
#my @chars = grep !$seen{$_}++, $text =~ /./g;
my @chars = 'a'..'z';
...
@chars;
$text =~ s/$re/substr($text,$-[0],3)/eg;