in reply to Re: delete space
in thread delete space

That will cause "c1, c2a c2b, c3" to return four elements instead of three.
split /, /
or
split /\s*,\s*/
is more appropriate.