in reply to Re: Broken regexp
in thread Broken regexp
Second, split never returns undefined fields. Fields can be empty, but they are still defined. You want to check on length here.
Third, this loses trailing empty fields. You want to give split a third, negative, argument.
Abigail
|
|---|