Thread Split erzeugt Leerstrings
(10 answers)
Opened by Matthias at 2005-05-12 17:58
[quote=Matthias,12.05.2005, 15:58]Diese Leerstrings bekome ich zwar mit
Code (perl): (dl
)
@array = grep $_, @array; weg[/quote] ja, und nullen filterst du damit auch gleich weg. besser grep length, @array Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: ![]() ![]() |