As others mentioned, the split will remove the newlines. However, if there is still unexplained weirdness you might want to check to see if there is an issue with how a newline is defined. Cross-platform differences can cause headaches. See Newlines: reading files that were created on other platforms and similar.
In reply to Re: "chomp" not working
by bobf
in thread "chomp" not working
by cuautemoc
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |