Thread String spliten
(10 answers)
Opened by case at 2007-08-29 20:25 Code (perl): (dl
)
1 2 3 my $t = "i_motorart integer,d_kw decimal(7,2),i_kat integer"; $t =~ s/(\D),(\D)/$1;$2/g; print Dumper [split/;/, $t]; "imitation is the sincerest form of flattery."
- Lee Anthony Iacocca http://img156.imageshack.us/img156/2056/perluserba... http://img410.imageshack.us/img410/2664/tcmduserba... |