Thread regulärer ausdruck (18 answers)
Opened by Gast at 2004-07-13 17:39

pq
 2004-07-13 18:13
#84210 #84210
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
so vielleicht? (achtung ungetestet)
@a1 = grep { tr/.// == 1} @array;
@a2 = grep { tr/.// == 2} @array;
# etc.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread regulärer ausdruck