Thread Split-delimiters -> " " und "" und // und / /
(19 answers)
Opened by Student87 at 2012-11-21 15:10
Nochmal überprüft, ob ich was falsch kopiert habe, aber
Code (perl): (dl
)
perl -e '$blub="a b c"; @blub=split(/" "/,$blub); foreach(@blub) {$c++; print "$c $_\n"}' produziert bei mir 1 a b c Ist aber auch wie gesagt Perl 8.8 ... ? |