Peter Otten wrote: >>>> [t.strip() for t in s.split(",") if t and not t.isspace()] > ['alpha', 'gamma', 'delta'] footnote: this solution is faster than my filter version. </F>