Thread Split() Will net wie ich will :(: @$out1 = split(/\^/, $in); <--? (1 answers)
Opened by Gast at 2006-07-22 00:44

Gast Gast
 2006-07-22 00:44
#68316 #68316
Code: (dl )
1
2
3
4
5
6
#!/usr/bin/perl
my $in = "srd^1|name|mail@mail.com^dsff";
@$out1 = split(/\^/, $in);
@$out2 = split(/\|/, $out[1]);

print $out2[0]." ".$out2[1]." ".$out2[2];


Weiß wer, wieso der mir als Ausgabe nur " " macht? :(

View full thread Split() Will net wie ich will :(: @$out1 = split(/\^/, $in); <--?