in reply to Re^4: split and capture some of the separators
in thread split and capture some of the separators

Okay, same point though.

grep{ defined && length } split ...;

Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon