Thread festes Spaltenformat einlesen (2 answers)
Opened by Gast at 2007-03-05 14:12

GwenDragon
 2007-03-05 14:53
#74774 #74774
User since
2005-01-17
14784 Artikel
Admin1
[Homepage]
user image
So gehts auch:
Code: (dl )
1
2
3
4
5
6
7
my $zeile =
#1234567812345678123456781234567812345678
'Q4          1231  -52.89   1e-01';
my (@spalten) = map { s/^( +)//; $_ } $zeile =~ /.{8}/g;

print "Alle Daten:\n$_\n" for (@spalten);
print "\nSpalte 2: $spalten[1]\n"
\n\n

<!--EDIT|GwenDragon|1173099444-->

View full thread festes Spaltenformat einlesen