Thread
Regex in split
(14 answers)
Opened by
PETER_PAN2009
at
2010-11-13 13:44
RPerl
2010-11-14 10:26
User since
2006-11-26
384 Artikel
BenutzerIn
Oder aber:
Code (perl): (
dl
)
perl
-
wle
'my $str="foo.bar.lulz.exe"; my @res=split /\./, $str; print @res[0,-1]'
Prost.
View full thread
Regex in split