The problem seems to stem from the differences between Unix and Windows ( and possibly the Mac too, I'm not sure ) and how they write newlines to a file.
I solved the problem by splitting on \r or \r\n or \n, depending on how the newlines were written in the file.
Hope that helps!
There is no emoticon for what I'm feeling now.
In reply to Re: dumb split question
by Popcorn Dave
in thread dumb split question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |